- From: "Mark J. Reed" <
>
- To:
- Subject: [chef] Re: Re: shef client mode broken in 0.9.10?
- Date: Fri, 22 Oct 2010 16:30:30 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=riBmakY3WG9238Ulf6RdwERuWkQCCg0DDX24Fhs9QxVut/5PkoFtFisJyekxLrMxOR GVl8JbNTYjm8M6ziUfgFwRJ9K1QQ3LHAGA8ZTlJI5hgLfDbfd0t6hEwZ8s0gbyjLw0HA GdtoBX4qGAzsnIIRvS30E+vsocTcOrqup8qBo=
Thanks!
On Fri, Oct 22, 2010 at 4:17 PM, Daniel DeLeo
<
>
wrote:
>
It's a bug, already fixed in master. I'll have a release soon to fix
>
this and also a bug affecting chef-solo.
>
>
Dan DeLeo
>
>
On Fri, Oct 22, 2010 at 12:47 PM, Mark J. Reed
>
<
>
>
wrote:
>
> 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
>
> <
>
>
>
>
--
Mark J. Reed
<
>
Archive powered by MHonArc 2.6.16.