Sha256: f39b49b34b4b5082c393fff9528c29b69986827f0eb1f4ce3397a64561255f1e
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
require 'chef/knife' require 'knife-solo/ssh_command' require 'knife-solo/kitchen_command' class Chef class Knife class WashUp < Knife include KnifeSolo::SshCommand 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knife-solo-0.0.15 | lib/chef/knife/wash_up.rb |