lib/chef/knife/topo_cookbook_create.rb in knife-topo-0.0.10 vs lib/chef/knife/topo_cookbook_create.rb in knife-topo-0.0.11

- old
+ new

@@ -83,11 +83,11 @@ cookbook_names << cookbook_name create_attr_file(@cookbook_path, cookbook_name, cookbook_spec['filename'] + ".rb", cookbook_spec) end else - ui.info "No cookbook attributes found for topology #{@topo_name}" + ui.info "No topology cookbook has been specified for topology #{@topo_name}" end end private @@ -97,10 +97,10 @@ @cookbook_create_args[2] = cookbook_name begin command = run_cmd(Chef::Knife::CookbookCreate, @cookbook_create_args) rescue Exception => e raise if Chef::Config[:verbosity] == 2 - ui.warn "create of cookbook #{cookbook_name} exited with error" + ui.warn "Create of cookbook #{cookbook_name} exited with error" humanize_exception(e) end # Store the cookbook path for use later @cookbook_path = File.expand_path(Array(command.config[:cookbook_path]).first) \ No newline at end of file