[chef] Attribute domain is not defined


Chronological Thread 
  • From: Tommy Chheng < >
  • To:
  • Subject: [chef] Attribute domain is not defined
  • Date: Tue, 30 Mar 2010 23:35:29 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=XawJfuYBE6Fyeezz+psbwlG35T1tGNrRnn465OIATL4Q+/yAiTKfiBJ1a3rf67E1Bv Zxz9kdETg3cfqBpsL1gLJmqPdv4+OasdJPLRmDEyhvqnxZhsYaHlPGzy+wBpzttkS7Tg 4viJqZyq+oz0KcP7djVe2t6UcVDb+UpAbry+w=

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.

§