Knife-Windows


#1

I’m trying to bootstrap a windows 2008 R2 Server with chef and i’m receiving
this error

:“CScript Error: Execution of the Windows Script Host failed. (0x800A0007)”.

After some research i find out that i must install the “specific_install” gem
and use Knife-windows gem from git but when i’m trying to install gem with this
command

“gem specific_install -l https://github.com/opscode/knife-windows.git

i’m receiving the following error :

“ERROR: While executing gem … (NoMethodError) undefined method `build’ for
Gem::package:Module”

What am i doing wrog?

Thank you in advance


#2

On Tuesday, October 22, 2013 at 1:50 AM, nzagoreos@newsphone.gr wrote:

I’m trying to bootstrap a windows 2008 R2 Server with chef and i’m receiving
this error

:“CScript Error: Execution of the Windows Script Host failed. (0x800A0007)”.

After some research i find out that i must install the “specific_install” gem
and use Knife-windows gem from git but when i’m trying to install gem with this
command

"gem specific_install -l https://github.com/opscode/knife-windows.git"
What pointed you at the “specific_install” gem? Seems like it has a bug.

Anyway, you should be able to build from master with

git clone URL
cd knife-windows
rake build
gem install pkg/knife-windows-VERSION.gem

i’m receiving the following error :

“ERROR: While executing gem … (NoMethodError) undefined method `build’ for
Gem::package:Module”

What am i doing wrog?

Thank you in advance
HTH,


Daniel DeLeo


#3

On Tuesday, October 22, 2013 at 1:50 AM, nzagoreos@newsphone.gr wrote:

I’m trying to bootstrap a windows 2008 R2 Server with chef and i’m receiving
this error

:“CScript Error: Execution of the Windows Script Host failed. (0x800A0007)”.
Also, what version of knife windows are you using?


Daniel DeLeo