Windows cookbooks


#1

Dear all,

I have a problem with my chef server and my windows nodes.
I have a chef server on ubuntu 10.4 and even though I’m not a linux expert,
i’m
pretty shure that my server is Installed correct.
The problem is that when i’m trying to install an applycation (any
aplication!!!) on my windows server (Windows server 2008 R2) through cookbooks
i’m receiving the following error:
"NameError: uninitialized constant
Chef::Win32::Registry::HKEY_LOCAL_MACHINE"
Any suggestions???

Is there something wrong with my chef server or the problem is on my windows
server?

Thank you in advance

Nick Zagoreos


#2

Hi,

Under windows you need to make sure that the recipe "windows::default"
is included really early in the run (i.e. first) which will install
the required gems for this to work.

On Sun, Jul 21, 2013 at 10:55 PM, nzagoreos@newsphone.gr wrote:

Dear all,

I have a problem with my chef server and my windows nodes.
I have a chef server on ubuntu 10.4 and even though I’m not a linux expert,
i’m
pretty shure that my server is Installed correct.
The problem is that when i’m trying to install an applycation (any
aplication!!!) on my windows server (Windows server 2008 R2) through cookbooks
i’m receiving the following error:
"NameError: uninitialized constant
Chef::Win32::Registry::HKEY_LOCAL_MACHINE"
Any suggestions???

Is there something wrong with my chef server or the problem is on my windows
server?

Thank you in advance

Nick Zagoreos


Cheers,

Peter Donald