lib/rake/chef/dsl.rb in rake-chef-0.1.0 vs lib/rake/chef/dsl.rb in rake-chef-0.2.0

- old
+ new

@@ -14,10 +14,10 @@ @chef_client = ::Chef::Client.new @chef_client.run_ohai @chef_client.load_node @chef_client.build_node run_context = ::Chef::RunContext.new(@chef_client.node, {}, @chef_client.events) - recipe = ::Chef::Recipe.new("(rake-chef cookbook)", "(rake-chef recipe)", run_context) + recipe = ::Chef::Recipe.new("rake-chef", id, run_context) recipe.instance_eval(&block) runner = ::Chef::Runner.new(run_context) runner.converge end end