On Friday, December 30, 2011 at 8:28 PM, Tim Uckun wrote:
I must be doing something dumb but I am getting the following errorwhen I try to run chef solochef-solo -c config/solo.rb -j dna/solo.json/usr/local/lib/ruby/gems/1.9.1/gems/systemu-2.2.0/lib/systemu.rb:29:Use RbConfig instead of obsolete and deprecated Config.[Sat, 31 Dec 2011 17:24:39 +1300] INFO: *** Chef 0.10.8 ***[Sat, 31 Dec 2011 17:24:39 +1300] INFO: Setting the run_list to["role[base]"] from JSON[Sat, 31 Dec 2011 17:24:39 +1300] INFO: Run List is [role[base]][Sat, 31 Dec 2011 17:24:39 +1300] INFO: Run List expands to [sudo,apt, git, build-essential, recipe[users::sysadmins][Sat, 31 Dec 2011 17:24:39 +1300] INFO: Starting Chef Run for localhost[Sat, 31 Dec 2011 17:24:39 +1300] INFO: Running start handlers[Sat, 31 Dec 2011 17:24:39 +1300] INFO: Start handlers complete.[Sat, 31 Dec 2011 17:24:39 +1300] ERROR: Running exception handlers[Sat, 31 Dec 2011 17:24:39 +1300] ERROR: Exception handlers complete[Sat, 31 Dec 2011 17:24:39 +1300] FATAL: Stacktrace dumped to/media/sf_tim/source/digital_dialogue/dd-infrastructure/chef-stacktrace.out[Sat, 31 Dec 2011 17:24:39 +1300] FATAL:Chef::Exceptions::CookbookNotFound: Cookbook recipe[users not found.If you're loading recipe[users from another cookbook, make sure youconfigure the dependency in your metadataThe cookbook is there in the cookbooks directory and is untouched. Thebase role looks like thisname "base"description "Base role applied to all nodes."run_list("recipe[sudo]","recipe[apt]","recipe[git]","recipe[build-essential]" ,"recipe[users::sysadmins")override_attributes(:authorization => {:sudo => {:users => ["ubuntu"],:passwordless => true}})the solo.json looks like this{ "run_list": [ "role[base]"] }So what gives?
Archive powered by MHonArc 2.6.16.