- From: "Mark J. Reed" <
>
- To:
- Subject: [chef] shef client mode broken in 0.9.10?
- Date: Fri, 22 Oct 2010 15:47:09 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M9q1ziGuGpszZ8pnK+h3bhRJ9RED2IXsVOpdxfPw7QFDFyuvazjP0+iOBwCGSQEZ19 Kurleimr/e6zn8X1qzAXaG222fFp4ZXxNAL2rx4xrllMzNnjZzFLS823I5tv8BBHQas9 hXGF3CG6eQS9SRCrCDOhiA1gdlTdRjsOCmVXc=
Do I have something out of synch, or is this a regression?
$ sudo shef -z
loading configuration: /etc/chef/client.rb
Session type: solo
Loading..................epic fail!
/usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef/shef_session.rb:193:in
`sync_cookbooks': wrong number of arguments (1 for 0) (ArgumentError)
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef/shef_session.rb:193:in
`rebuild_node'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef/shef_session.rb:47:in
`reset!'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef/shef_session.rb:93:in
`loading'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef/shef_session.rb:46:in
`reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef.rb:120:in
`session'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef.rb:129:in
`init'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.10/lib/chef/shef.rb:60:in
`start'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.10/bin/shef:34
from /usr/bin/shef:19:in `load'
from /usr/bin/shef:19
I got past this error by removing the empty hash parameter in the
listed call to sync_cookbooks...
--
Mark J. Reed
<
>
- [chef] shef client mode broken in 0.9.10?, Mark J. Reed, 10/22/2010
Archive powered by MHonArc 2.6.16.