Puppet 3 and registry simply do not work I had to upgrade all my clients to puppet 5 to get it to work correctly
John On Wed, 27 Feb 2019 at 05:16, Ben Ford <[email protected]> wrote: > Can you include the actual error message along with this snippet of the > stack trace? > > Also Puppet 3.x went EOL 787 days ago on December 31, 2016. You should > REALLY consider upgrading, especially since your master has already been > upgraded. It's generally recommended to run the same versions of master & > client. > > On Mon, Feb 25, 2019 at 11:22 AM SUDISH MADATHIL <[email protected]> > wrote: > >> *Error: >> /Stage[main]/Firewallon/Registry_value[hklm\Software\Pluralsight1\PuppetO* >> *nWindows]: Could not evaluate: undefined method `RegQueryValueExW' for >> Puppet::U* >> *til::Windows::Registry:Module* >> >> Issue when trying to use registry module specific to updating values in >> registry. Can you help with this message? >> >> Puppet master version : - 4.10.12 >> Puppet client/agent version :- 3.8.7 >> >> Trace logs: - >> >> >> >> >> >> C:/ProgramData/PuppetLabs/puppet/var/lib/puppet/provider/registry_value/registry >> .rb:38:in `block (2 levels) in exists?' >> C:/Program Files/Puppet >> Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb: >> 30:in `block in from_string_to_wide_string' >> C:/Program Files/Puppet >> Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb: >> 26:in `initialize' >> C:/Program Files/Puppet >> Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb: >> 26:in `new' >> C:/Program Files/Puppet >> Labs/Puppet/puppet/lib/puppet/util/windows/api_types.rb: >> 26:in `from_string_to_wide_string' >> >> C:/ProgramData/PuppetLabs/puppet/var/lib/puppet/provider/registry_value/registry >> .rb:37:in `block in exists?' >> C:/Program Files/Puppet >> Labs/Puppet/sys/ruby/lib/ruby/2.0.0/win32/registry.rb:38 >> 9:in `open' >> C:/Program Files/Puppet >> Labs/Puppet/sys/ruby/lib/ruby/2.0.0/win32/registry.rb:49 >> 6:in `open' >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/bb2a3fcc-6762-4194-bfb0-7b67e3a398ae%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/bb2a3fcc-6762-4194-bfb0-7b67e3a398ae%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CACkW_L78gUxJXPEZ1NO4rAMPD4eVpQJW_7T9htBP81HNJBoEXQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CACkW_L78gUxJXPEZ1NO4rAMPD4eVpQJW_7T9htBP81HNJBoEXQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- John Warburton Ph: 0417 299 600 Email: [email protected] -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAAJLFxXrR_7jLHdJg%3Dq8YnJPvFD--sxRD8DN806%3DJZBj4ZLuAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
