Skip to content

Instantly share code, notes, and snippets.

@macros
Created March 4, 2009 22:01
Show Gist options
  • Save macros/74036 to your computer and use it in GitHub Desktop.
Save macros/74036 to your computer and use it in GitHub Desktop.
/var/chef/cache/cookbooks/xen/recipes/default.rb:40:in `from_file': undefined method `cookbook' for #<Chef::Resource::RemoteDirectory:0x7fffaa854fb0> (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/recipe.rb:190:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/recipe.rb:190:in `method_missing'
from /var/chef/cache/cookbooks/xen/recipes/default.rb:39:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/cookbook.rb:139:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/compile.rb:109:in `load_recipes'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/compile.rb:101:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/compile.rb:101:in `load_recipes'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/client.rb:339:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/lib/chef/client.rb:76:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/bin/chef-client:126
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/bin/chef-client:120:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.4/bin/chef-client:120
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
remote_directory "/etc/xen-tools/skel/etc" do
source "etc"
files_owner "root"
files_group "root"
files_mode 0644
owner "root"
group "root"
mode 0755
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment