lib/chef/knife/cook.rb in knife-solo-0.0.9 vs lib/chef/knife/cook.rb in knife-solo-0.0.10
- old
+ new
@@ -111,10 +111,10 @@
ruby_bin="ruby"
fi
$ruby_bin -rubygems -e "gem 'chef', '#{constraint}'"
BASH
- raise "The chef gem on #{host} is out of date. Please run `#{$0} prepare #{ssh_args}` to upgrade Chef to #{constraint}." unless result.success?
+ raise "Couldn't find Chef #{constraint} on #{host}. Please run `#{$0} prepare #{ssh_args}` to ensure Chef is installed and up to date." unless result.success?
end
def cook
logging_arg = "-l debug" if config[:verbosity] > 0