Details
-
Bug
-
Status: Accepted
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
None
-
Windows 10 Pro (domain joined)
-
Windows
Description
Attempting to change a 64bit registry key with the following code results in the below error
registry::value { 'AutoRestartShell': |
key => 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon', |
value => 'AutoRestartShell', |
type => dword, |
data => "0", |
}
|
Failed to apply catalog: Parameter path failed on Registry_key[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]: Munging failed for value "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon" in class path: uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY at /etc/puppet/modules/registry/manifests/value.pp:67
|
Editing line 5 of registry.rb to be as follows removes the error and changes the appropriate 64bit key.
KEY_WOW64_64KEY = 0x100
|
Attachments
Issue Links
- duplicates
-
MODULES-3195 "Munging failed" error when using registry::value
-
- Resolved
-