- From: Landon <
>
- To:
- Subject: [chef] Re: Re: Installing on Windows
- Date: Tue, 13 Jul 2010 14:45:46 -0700
I had some issues getting this to work, so I started over on both the
server and the client and it works now. I think this is what
happened:
I installed using the deprecated bootstrap::server but this installed
chef 0.9.4 where the client had 0.9.6. After installing I made sure
that everything was the most up to date version and purged the old.
Everything started behaving MUCH better.
Thanks for the help. I am sure that I will be back with more
questions now that I have the basics setup!
Landon
On Mon, Jul 12, 2010 at 4:07 PM, Landon
<
>
wrote:
>
Got it. I will give that a try and let you know how it goes. Thanks
>
for the pointer!
>
>
Landon
>
>
On Mon, Jul 12, 2010 at 3:04 PM, Daniel DeLeo
>
<
>
>
wrote:
>
> Hi there,
>
> It looks like fetching a set of bootstrap cookbooks isn't going to
>
> work on windows, at least not the way we do it currently. That said,
>
> the bootstrap is totally optional for the client. If you have a
>
> chef-server working already, I'd recommend you just copy the
>
> validation.pem over and run chef-client. Since you have chef installed
>
> you're almost done.
>
>
>
> Let us know how it turns out..
>
>
>
>
>
> On Mon, Jul 12, 2010 at 1:08 PM,
>
> <
>
>
> wrote:
>
>> Hi Folks,
>
>> I am trying to get Chef client working on windows. It's definitely not
>
>> easy
>
>> but if it's doable, then I am going to do it ;-)
>
>>
>
>> My environment looks like:
>
>> ruby 1.8.7 patchlevel 249
>
>> gem 1.3.7
>
>>
>
>> I had to install a couple of gems manually (windows-pr and another that
>
>> slips
>
>> the mind right now) but now I am stuck trying to bootstrap. They key issue
>
>> appears to be popen4 (full command that I ran below):
>
>> `popen4': uninitialized constant Fcntl::F_SETFD (NameError)
>
>>
>
>> Can anyone point me in the right direction? I tried gem install popen4
>
>> and
>
>> that didn't help.
>
>>
>
>> Thanks!
>
>> Landon
>
>>
>
>> Here is the full command and stack trace that I am using:
>
>> chef-solo -c solo.rb -j chef.json -r
>
>> http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
>
>>
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/mixin/command.rb:242:in
>
>> `popen4': uninitialized constant Fcntl::F_SETFD (NameError)
>
>> from
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/mixin/command.rb:155:in
>
>> `output_of_command'
>
>> from
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/mixin/
>
>> command.rb:144:in `chdir'
>
>> from
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/mixin/
>
>> command.rb:144:in `output_of_command'
>
>> from
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/mixin/command.rb:121:in
>
>> `run_command'
>
>> from
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/application/solo.rb:168:in
>
>> `reconfigure'
>
>> from
>
>> C:/Ruby187/lib/ruby/gems/1.8/gems/chef0.9.6/bin/../lib/chef/application.rb:60:in
>
>> `run'
>
>> from C:/Ruby187/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/chef-solo:25
>
>> from C:/Ruby187/bin/chef-solo:19:in `load'
>
>> from C:/Ruby187/bin/chef-solo:19
>
>>
>
>
>
Archive powered by MHonArc 2.6.16.