Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with KEY_WOW_64_KEY #8

Open
delwaterman opened this issue Apr 4, 2014 · 5 comments
Open

Issue with KEY_WOW_64_KEY #8

delwaterman opened this issue Apr 4, 2014 · 5 comments

Comments

@delwaterman
Copy link

Munging failed for value "HKLM\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\DomainProfile
\EnableFirewall" in class path: uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY

@vatruica
Copy link

Same issue here.

Delwaterman, did you manage to find a solution until now?

@delwaterman
Copy link
Author

No we ended up doing all of it with a custom puppet script.

@jeffbearer
Copy link

Burned by this too, was unable to set any 64bit registry keys with the puppet/registry module as long as this line in windows_sid.rb is there:

KEY_WOW64_64KEY = 0x100 unless defined? KEY_WOW64_64KEY

I used the little bit of ruby I know but couldn't figure out how to make this compatible.

@nathannis
Copy link

I removed that line and replaced the line following it with

        access = Win32::Registry::KEY_READ | 0x100

I'll submit a pull request soon.

nathannis added a commit to nathannis/puppet-win_facts that referenced this issue Dec 23, 2014
Fixing issue where puppet was erroring out while creating the catalog:
'uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY'.
This same constant conflicts with the puppetlags/registry module and was
reported as part of issue liamjbennett#3.
nathannis added a commit to nathannis/puppet-win_facts that referenced this issue Dec 23, 2014
Fixing issue where puppet was erroring out while creating the catalog:
'uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY'.
This same constant conflicts with one from puppetlags/registry module and was
reported as part of issue liamjbennett#3.
@joshcooper
Copy link

mciurcio pushed a commit to instruct-br-archive/puppet-win_facts that referenced this issue Mar 10, 2017
Fixing issue where puppet was erroring out while creating the catalog:
'uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY'.
This same constant conflicts with one from puppetlags/registry module and was
reported as part of issue liamjbennett#3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants