[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: knife on windows


Chronological Thread 
  • From: Maven User < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: knife on windows
  • Date: Wed, 21 Sep 2011 13:15:34 -0400

By the way - this page:

http://wiki.opscode.com/display/chef/Installation+on+Windows

Suggests ruby 1.8.7, but then this one:

http://wiki.opscode.com/display/chef/Knife+Windows+Bootstrap

Requires 1.9.X+

:-/

On Wed, Sep 21, 2011 at 9:44 AM, Maven User < "> > wrote:
Cool - I'd love to help out in any way to document this process (it's been pretty painful).

FWIW - it'd be HUGELY helpful if all instructions for each platform were organized by platform.

Right now, there are "how to setup chef on windows", a "knife-windows" and then finally a generalized "knife" pages.  All of which have little bits needed to get things working successfully on windows (something I _still_ haven't managed).

Just so I'm clear - I can jump right to the link below to set up knife on windows?  Then I have to go to the generalized Knife page and also install those gems?


On Tue, Sep 20, 2011 at 6:35 PM, Jessica Bourne < " target="_blank"> > wrote:
Hi Maven,

We've actually been working on updating our installation instructions, including the documentation on Windows. They won't be completed for a few more weeks, but I'll be sure to review this thread once they are in draft so we can be sure your concerns are addressed.

The gems listed on the knife doc are necessary, some of them are what enable you to ssh from that node. If you're still getting errors after installing the gems on the knife page, feel free to respond to this thread with the command you are using and the error you are getting, as well as the Windows version. Without specific errors it can be difficult to figure out why knife ssh is failing on that node.

Knife-windows is used to bootstrap new windows nodes, more information on it can be found on this wiki page: http://wiki.opscode.com/display/chef/Knife+Windows+Bootstrap

Thanks,
Jessica


On Tue, Sep 20, 2011 at 11:18 AM, Maven User < " target="_blank"> > wrote:
It gets even more confusing.

So it starts there but talks about knife-windows (is that absolutely necessary?) then if you click into the standard "knife" documentation, there's a big blue box that states "Knife requires some extra gems!" - are those required if you don't plan on doing any cloud work?  I've noticed on windows, I can't do "knife ssh" without errors but I'm done flailing and don't want to just run off and start installing gems.


On Tue, Sep 20, 2011 at 1:19 PM, Maven User < " target="_blank"> > wrote:
http://wiki.opscode.com/display/chef/Installation+on+Windows

??


On Tue, Sep 20, 2011 at 12:28 PM, Daniel DeLeo < " target="_blank"> > wrote:
On Monday, September 19, 2011 at 10:37 AM, Maven User wrote:
> Thanks again for all the tips up until this point - the documentation for knife usage on windows is really confusing.
>
> It just skips from running the client install/setup to running knife commands - nothing about the "knife configure -i" step.
>
> I'm also not sure if this is expected behavior but the windows guide talks about C:\chef\.chef yet knife creates a lot of things in ~/.chef (in windows).
>
> Do things need to be replicated between these two areas or did I make a mistake?
>
What documentation are you using?


--
Dan DeLeo










Archive powered by MHonArc 2.6.16.

§