[chef] Re: RE: Re: knife windows, what am I missing?


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: RE: Re: knife windows, what am I missing?
  • Date: Fri, 7 Nov 2014 11:00:30 -0800

Is RH5 even supported anymore?

--
~*~ StormeRider ~*~

"Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Fri, Nov 7, 2014 at 10:30 AM, Fouts, Chris < " target="_blank"> > wrote:

Thanks. I’m trying to install chefdk from here http://downloads.getchef.com/chef-dk/redhat/#/0.3.0

 

Which version works for RHEL 5.x? It’s not clear from the page. I know the latest version (v0.3.2 is for RH6.)

 

Chris

 

From: Galen Emery [mailto: " target="_blank"> ]
Sent: Friday, November 07, 2014 11:52 AM
To: Fouts, Chris
Cc: " target="_blank">
Subject: RE: [chef] Re: knife windows, what am I missing?

 

Then basically, the knife you're using doesn't know about knife Windows.

Check your system for multiple knifes (knives?) and figure out which knife has knife Windows installed and make sure you use that one.

Personally, I prefer to ensure I only have chefdk on my workstation. Really helps clean up these problems.

-Mobile Galen

On Nov 7, 2014 8:49 AM, "Fouts, Chris" < " target="_blank"> > wrote:

Not chefdk, but rather chef-client package itself. “knife” command does not show any winrm sub-commands of course.

 

Thanks!

Chris

 

From: Galen Emery [mailto: " target="_blank"> ]
Sent: Friday, November 07, 2014 11:45 AM
To: " target="_blank">
Subject: [chef] Re: knife windows, what am I missing?

 

Chris,

Are you using chefdk? If so, try chef gem list instead to see if knife-Windows is installed into chef's ruby.

If you just try "knife" does that return a list of knife winrm commands?

-Mobile Galen

On Nov 7, 2014 8:42 AM, "Fouts, Chris" < " target="_blank"> > wrote:

This is on a RHEL workstation running chef-client v11.12.8

 

[chef-repos]# gem list | grep windows

knife-windows (0.8.2)

[chef-repos]# knife winrm help

FATAL: Cannot find sub command for: 'winrm help'

 

 

Of course the following command breaks

 

Knife bootstrap windows winrm …..

 

 

Chris

 





Archive powered by MHonArc 2.6.16.

§