[chef] Small Issue with windows_registry ressource/provider


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Small Issue with windows_registry ressource/provider
  • Date: Sat, 19 Jan 2013 13:59:58 -0800 (PST)

Hi Guys,
Sorry If I am in the wrong list, just let me know.
When I use the windows_registry from the windows cookbook against a windows
server (my case 2008 R2).
It works perfectly on everything except if I put a value = 0 type bianry , it
will write 30 in the registry.
Thanks for the help
Marc

Here is the call from teh recipe:
windows_registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Datagram\SyslogAgent' do
action :create
type:binary
values 'UsePingBeforeSend' => 0, 'ForwardEventLogs' => 0,
'ForwardApplicationLogs' => 0, 
end


And he log chef-client debug (on the remote windows machine)
[2013-01-19T21:57:22+00:00] DEBUG: Creating
HKEY_LOCAL_MACHINE\SOFTWARE\Datagram\SyslogAgent
[2013-01-19T21:57:22+00:00] DEBUG: Getting hive for
HKEY_LOCAL_MACHINE\SOFTWARE\Datagram\SyslogAgent
[2013-01-19T21:57:22+00:00] DEBUG: Resolving registry shortcuts to full names
[2013-01-19T21:57:22+00:00] DEBUG: Hive resolved to HKEY_LOCAL_MACHINE
[2013-01-19T21:57:22+00:00] DEBUG: Registry hive resolved to 
HKEY_LOCAL_MACHINE
[2013-01-19T21:57:22+00:00] DEBUG: Getting hive for 
HKEY_LOCAL_MACHINE\SOFTWARE
[2013-01-19T21:57:22+00:00] DEBUG: Resolving registry shortcuts to full names
[2013-01-19T21:57:22+00:00] DEBUG: Hive resolved to HKEY_LOCAL_MACHINE
[2013-01-19T21:57:22+00:00] DEBUG: Registry hive resolved to 
HKEY_LOCAL_MACHINE
[2013-01-19T21:57:22+00:00] DEBUG: setting binary=0


  • [chef] Small Issue with windows_registry ressource/provider, a_assinie, 01/19/2013

Archive powered by MHonArc 2.6.16.

§