Some Help Please 0.10.0


#1

Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander: /usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in `[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

Wile running :

chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz

Or when running

/sbin/service chef-expander start

Any help with be cool

TIA

–Brian


#2

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:
Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander: /usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in `[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#3

[root@deploy2 init.d]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

From: Daniel DeLeo <dan@kallistec.commailto:dan@kallistec.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander: /usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in `[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#4

On Sunday, May 8, 2011 at 11:05 PM, Brian Muha wrote:
[root@deploy2 init.d]# ruby -v

ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

Looks like there’s some ruby 1.8.7+ syntax being used there. I’ll file a bug, but in the meantime you can grab Ruby 1.8.7 from Aegis or FrameOS.

https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/centos5-gems.erb#L4-6


Dan DeLeo
From: Daniel DeLeo dan@kallistec.com

Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander: /usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in `[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#5

Dan

Thanks that worked great and now have a successful install

Thanks Much for the help

–brian

From: Daniel DeLeo <dan@kallistec.commailto:dan@kallistec.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Sun, 8 May 2011 23:13:55 -0700
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 11:05 PM, Brian Muha wrote:

[root@deploy2 init.d]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

Looks like there’s some ruby 1.8.7+ syntax being used there. I’ll file a bug, but in the meantime you can grab Ruby 1.8.7 from Aegis or FrameOS.

https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/centos5-gems.erb#L4-6


Dan DeLeo

From: Daniel DeLeo <dan@kallistec.commailto:dan@kallistec.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander: /usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in `[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#6

Dan,

I don’t think that it is worth working on 1.8.6 compatibility because it
doesn’t support rubygems 1.6.2, which is basically a requirement of Chef.
1.6.2 is also being deprecated, I think, so we’re going to need to build a
newer version soon.

James

On Sun, May 8, 2011 at 11:38 PM, Brian Muha brianm@peer39.com wrote:

Dan

Thanks that worked great and now have a successful install

Thanks Much for the help

–brian

From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:13:55 -0700

To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 11:05 PM, Brian Muha wrote:

[root@deploy2 init.d]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

Looks like there’s some ruby 1.8.7+ syntax being used there. I’ll file a
bug, but in the meantime you can grab Ruby 1.8.7 from Aegis or FrameOS.

https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/centos5-gems.erb#L4-6


Dan DeLeo

From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander:
/usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in
`[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#7

Could someone provide a link to the page outlining pre-reqs like this for
Chef .10? I can’t seem to find it.

On Mon, May 9, 2011 at 1:56 AM, James js@aegisco.com wrote:

Dan,

I don’t think that it is worth working on 1.8.6 compatibility because it
doesn’t support rubygems 1.6.2, which is basically a requirement of Chef.
1.6.2 is also being deprecated, I think, so we’re going to need to build a
newer version soon.

James

On Sun, May 8, 2011 at 11:38 PM, Brian Muha brianm@peer39.com wrote:

Dan

Thanks that worked great and now have a successful install

Thanks Much for the help

–brian

From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:13:55 -0700

To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 11:05 PM, Brian Muha wrote:

[root@deploy2 init.d]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

Looks like there’s some ruby 1.8.7+ syntax being used there. I’ll file a
bug, but in the meantime you can grab Ruby 1.8.7 from Aegis or FrameOS.

https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/centos5-gems.erb#L4-6


Dan DeLeo

From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!

Well you got me on this one … The first one was missing fileutils require

Now the second issue :

[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander:
/usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in
`[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#8

I haven’t seen these issues specifically addressed but this should
probably make its way here:

http://wiki.opscode.com/display/chef/Installation#Installation-SystemRequirements

Looks like this hasn’t been updated for Chef 0.10 yet. Notable omissions:

  • ruby/rubygems issues from this thread
  • gecode/gecode-dev (new 0.10 dependency)
  • knife-specific dependencies (i.e. net-ssh-multi, maybe a couple more?)

KC

On Mon, May 9, 2011 at 7:35 AM, Sascha Bates sascha.bates@gmail.com wrote:

Could someone provide a link to the page outlining pre-reqs like this for
Chef .10? I can’t seem to find it.

On Mon, May 9, 2011 at 1:56 AM, James js@aegisco.com wrote:

Dan,
I don’t think that it is worth working on 1.8.6 compatibility because it
doesn’t support rubygems 1.6.2, which is basically a requirement of Chef.
1.6.2 is also being deprecated, I think, so we’re going to need to build a
newer version soon.
James

On Sun, May 8, 2011 at 11:38 PM, Brian Muha brianm@peer39.com wrote:

Dan
Thanks that worked great and now have a successful install
Thanks Much for the help
–brian
From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:13:55 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 11:05 PM, Brian Muha wrote:

[root@deploy2 init.d]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

Looks like there’s some ruby 1.8.7+ syntax being used there. I’ll file a
bug, but in the meantime you can grab Ruby 1.8.7 from Aegis or FrameOS.

https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/centos5-gems.erb#L4-6


Dan DeLeo

From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!
Well you got me on this one … The first one was missing fileutils require
Now the second issue :
[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander:
/usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in
`[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo


#9

This sort of information is critical to those of us forced to implement
inside a firewall. We have to gather all the pre-reqs and bring them
inside. In order for things to work, we need to know what the pre-reqs are.

Sascha

On Mon, May 9, 2011 at 12:08 PM, KC Braunschweig
kcbraunschweig@gmail.comwrote:

I haven’t seen these issues specifically addressed but this should
probably make its way here:

http://wiki.opscode.com/display/chef/Installation#Installation-SystemRequirements

Looks like this hasn’t been updated for Chef 0.10 yet. Notable omissions:

  • ruby/rubygems issues from this thread
  • gecode/gecode-dev (new 0.10 dependency)
  • knife-specific dependencies (i.e. net-ssh-multi, maybe a couple more?)

KC

On Mon, May 9, 2011 at 7:35 AM, Sascha Bates sascha.bates@gmail.com
wrote:

Could someone provide a link to the page outlining pre-reqs like this for
Chef .10? I can’t seem to find it.

On Mon, May 9, 2011 at 1:56 AM, James js@aegisco.com wrote:

Dan,
I don’t think that it is worth working on 1.8.6 compatibility because it
doesn’t support rubygems 1.6.2, which is basically a requirement of
Chef.

1.6.2 is also being deprecated, I think, so we’re going to need to build
a

newer version soon.
James

On Sun, May 8, 2011 at 11:38 PM, Brian Muha brianm@peer39.com wrote:

Dan
Thanks that worked great and now have a successful install
Thanks Much for the help
–brian
From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:13:55 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 11:05 PM, Brian Muha wrote:

[root@deploy2 init.d]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

Looks like there’s some ruby 1.8.7+ syntax being used there. I’ll file
a

bug, but in the meantime you can grab Ruby 1.8.7 from Aegis or FrameOS.

https://github.com/opscode/chef/blob/master/chef/lib/chef/knife/bootstrap/centos5-gems.erb#L4-6


Dan DeLeo

From: Daniel DeLeo dan@kallistec.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Sun, 8 May 2011 23:04:06 -0700
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Some Help Please 0.10.0

On Sunday, May 8, 2011 at 10:23 PM, Brian Muha wrote:

Hey Everyone !!!
Well you got me on this one … The first one was missing fileutils
require

Now the second issue :
[root@deploy2 init.d]# /sbin/service chef-expander start
Starting chef-expander:

/usr/lib64/ruby/gems/1.8/gems/chef-expander-0.10.0/bin/…/lib/chef/expander/logger.rb:44:in

`[]’: odd number of arguments for Hash (ArgumentError)

Centos 5.5

What version of ruby do you have?


Dan DeLeo