$ chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json
[Tue, 20 Apr 2010 03:43:45 +0000] INFO: Starting Chef Solo Run
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem ‘right_aws’
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem ‘mysql’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/node/attribute.rb:387:in method_missing': Attribute domain is not defined! (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node.rb:251:insend’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/node.rb:251:in method_missing' from /var/chef-solo/cookbooks/bootstrap/attributes/bootstrap.rb:49:infrom_file’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/cookbook.rb:83:in load_attribute_file' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:76:inload_attributes’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/cookbook.rb:75:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:75:inload_attributes’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/compile.rb:78:in load_attributes' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook_loader.rb:132:ineach’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/cookbook_loader.rb:131:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:77:inload_attributes’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/compile.rb:52:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:316:innew’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/client.rb:316:in converge' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:110:inrun_solo’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/application/solo.rb:198:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:190:inloop’
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/application/solo.rb:190:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application.rb:57:inrun’
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/chef-solo:26
from /usr/local/bin/chef-solo:19:in `load’
from /usr/local/bin/chef-solo:19
$ chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json
[Tue, 20 Apr 2010 03:43:45 +0000] INFO: Starting Chef Solo Run
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem 'right_aws'
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem 'mysql'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node/
attribute.rb:387:in method_missing': Attribute domain is not defined! (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ node.rb:251:in send'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
node.rb:251:in method_missing' from /var/chef-solo/cookbooks/bootstrap/attributes/bootstrap.rb:49:in from_file'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
cookbook.rb:83:in load_attribute_file' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ cookbook.rb:76:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
cookbook.rb:75:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ cookbook.rb:75:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
compile.rb:78:in load_attributes' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ cookbook_loader.rb:132:in each'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
cookbook_loader.rb:131:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ compile.rb:77:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
compile.rb:52:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ client.rb:316:in new'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
client.rb:316:in converge' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ client.rb:110:in run_solo'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
application/solo.rb:198:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ application/solo.rb:190:in loop'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/
application/solo.rb:190:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/ application.rb:57:in run'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/chef-solo:26
from /usr/local/bin/chef-solo:19:in `load'
from /usr/local/bin/chef-solo:19
Just set a FQDN in /etc/hosts. You'll know you have it right when hostname -f is something like hostname.domainname or ohai domain
gives you the domain name.
$ chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json
[Tue, 20 Apr 2010 03:43:45 +0000] INFO: Starting Chef Solo Run
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem 'right_aws'
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem 'mysql'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node/attribute.rb:387:in method_missing': Attribute domain is not defined! (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node.rb:251:in send'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node.rb:251:in method_missing' from /var/chef-solo/cookbooks/bootstrap/attributes/bootstrap.rb:49:in from_file'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:83:in load_attribute_file' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:76:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:75:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:75:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:78:in load_attributes' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook_loader.rb:132:in each'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook_loader.rb:131:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:77:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:52:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:316:in new'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:316:in converge' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:110:in run_solo'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:198:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:190:in loop'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:190:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application.rb:57:in run'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/chef-solo:26
from /usr/local/bin/chef-solo:19:in `load'
from /usr/local/bin/chef-solo:19
Just set a FQDN in /etc/hosts. You'll know you have it right when hostname -f is something like hostname.domainname or ohai domain
gives you the domain name.
$ chef-solo -c /etc/chef/solo.rb -j /etc/chef/dna.json
[Tue, 20 Apr 2010 03:43:45 +0000] INFO: Starting Chef Solo Run
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem 'right_aws'
[Tue, 20 Apr 2010 03:43:47 +0000] WARN: Missing gem 'mysql'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node/attribute.rb:387:in method_missing': Attribute domain is not defined! (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node.rb:251:in send'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/node.rb:251:in method_missing' from /var/chef-solo/cookbooks/bootstrap/attributes/bootstrap.rb:49:in from_file'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:83:in load_attribute_file' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:76:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:75:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:75:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:78:in load_attributes' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook_loader.rb:132:in each'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook_loader.rb:131:in each' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:77:in load_attributes'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:52:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:316:in new'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:316:in converge' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:110:in run_solo'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:198:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:190:in loop'
from
/usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/solo.rb:190:in run_application' from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application.rb:57:in run'
from /usr/local/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/chef-solo:26
from /usr/local/bin/chef-solo:19:in `load'
from /usr/local/bin/chef-solo:19