salt icon indicating copy to clipboard operation
salt copied to clipboard

Add option to disable reflection in reg module and reg state

Open otrempe opened this issue 12 years ago • 2 comments

On 64bits Windows, creating a key/value in, for example

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion...

will actually create the key in

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion...

There are some situations where the key/value that must be read/created/modified is not in the Wow6432Node subkey.

Currently it is not possible with reg module and reg state to enforce this. Adding an option to disable reflection in the usage of _winreg would solve this issue.

otrempe avatar Feb 03 '14 19:02 otrempe

Thanks for the report! We'll get this fixed.

basepi avatar Feb 05 '14 23:02 basepi

Fixed by https://github.com/saltstack/salt/issues/10708

UtahDave avatar Feb 25 '14 22:02 UtahDave