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

Duplicate declaration warnings if puppet-windows_env is used, too #10

Open
heini opened this issue Oct 21, 2019 · 0 comments · May be fixed by #11
Open

Duplicate declaration warnings if puppet-windows_env is used, too #10

heini opened this issue Oct 21, 2019 · 0 comments · May be fixed by #11

Comments

@heini
Copy link

heini commented Oct 21, 2019

With both this module and puppet-windows_env installed, one gets duplicate declaration warnings for two constants used in the code:

C:/ProgramData/PuppetLabs/puppet/cache/lib/puppet/provider/windows_env/windows_env.rb:51: warning: already initialized constant HWND_BROADCAST
C:/ProgramData/PuppetLabs/puppet/cache/lib/puppet/provider/windows_path/path_provider.rb:9: warning: previous definition of HWND_BROADCAST was here
C:/ProgramData/PuppetLabs/puppet/cache/lib/puppet/provider/windows_env/windows_env.rb:52: warning: already initialized constant WM_SETTINGCHANGE
C:/ProgramData/PuppetLabs/puppet/cache/lib/puppet/provider/windows_path/path_provider.rb:11: warning: previous definition of WM_SETTINGCHANGE was here

PR to come...

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

Successfully merging a pull request may close this issue.

1 participant