lib/chef/knife/wash_up.rb in knife-solo-0.0.14 vs lib/chef/knife/wash_up.rb in knife-solo-0.0.15
- old
+ new
@@ -9,9 +9,10 @@
include KnifeSolo::KitchenCommand
banner "knife wash_up [user@]hostname"
def run
+ validate_first_cli_arg_is_a_hostname!
super
Chef::Config.from_file('solo.rb')
run_command "rm -rf #{Chef::Config.file_cache_path}"
end
end