[chef] 'Attribute domain is not defined' in bootstrap cookbook


Chronological Thread 
  • From: Chad Woolley < >
  • To: Chef < >
  • Subject: [chef] 'Attribute domain is not defined' in bootstrap cookbook
  • Date: Sat, 19 Jun 2010 22:12:15 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=i7wceMBG64f3Uetp6lUpjeG/gFFfMH+u8bEpnXoC5Y/vx+ekLwHw6x6loKTSsA5g4K iP7G2hn93nnDF/M4TdJv8bngOmHZmmHVZNIOe4v/iqk5dsV0RdM75i8M2O8ocx5NTBXk PLZyXsHeq15aWoRAYTWDrBovHBvl9Y0IFOhyY=

This line in the bootstrap cookbook:

http://github.com/opscode/cookbooks/blob/master/bootstrap/attributes/default.rb#L52

Is giving this error:

DEBUG: Loading attributes from
/home/ubuntu/chef/railsci_chef_repo/cookbooks/opscode/bootstrap/attributes/default.rb
/home/ubuntu/.rvm/gems/ruby-1.8.7-p174/gems/chef-0.8.16/bin/../lib/chef/node/attribute.rb:387:in
`method_missing': Attribute domain is not defined! (ArgumentError)
        from 
/home/ubuntu/.rvm/gems/ruby-1.8.7-p174/gems/chef-0.8.16/bin/../lib/chef/node.rb:252:in
`send'
        from 
/home/ubuntu/.rvm/gems/ruby-1.8.7-p174/gems/chef-0.8.16/bin/../lib/chef/node.rb:252:in
`method_missing'
        from 
/home/ubuntu/chef/railsci_chef_repo/cookbooks/opscode/bootstrap/attributes/default.rb:52:in
`from_file'

This is using latest gem chef (0.8.16)



Archive powered by MHonArc 2.6.16.

§