Attribute domain is not defined

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

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 tommy.chheng@gmail.com 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

Thanks, i added my domain to /etc/hostname and it fixed the attribute
domain problem.

Tommy Chheng
Programmer and UC Irvine Graduate Student
Twitter @tommychheng

On 3/30/10 11:39 PM, Daniel DeLeo wrote:

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 Chhengtommy.chheng@gmail.com 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