- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Attribute domain is not defined
- Date: Tue, 30 Mar 2010 23:39:33 -0700
The domain not defined error means your host doesn't have its fqdn
properly set. You'll need to configure the /etc/hosts file with your
fqdn. You can verify that it's correct with `hostname -f`
HTH,
Dan DeLeo
On Tue, Mar 30, 2010 at 11:35 PM, Tommy Chheng
<
>
wrote:
>
Running on ubuntu 9.10; after fixing the ruby 1.8 issue, im running into
>
this attribute domain is not defined.
>
>
/usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/node/attribute.rb:387:in
>
`method_missing': Attribute domain is not defined! (ArgumentError)
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/node.rb:254:in `send'
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/node.rb:254:in
>
`method_missing'
>
from config/../cookbooks/bootstrap/attributes/bootstrap.rb:52:in
>
`from_file'
>
from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:83:in
>
`load_attribute_file'
>
>
I checked ohai and no domain is defined:
>
$ ohai | grep domain
>
"domain": null,
>
>
i came across this ticket http://tickets.opscode.com/browse/OHAI-147 and i'm
>
running ohai 0.5 so it should have included this patch?
>
>
>
--
>
Tommy Chheng
>
Programmer and UC Irvine Graduate Student
>
Twitter @tommychheng
>
http://tommy.chheng.com
>
>
Archive powered by MHonArc 2.6.16.