Sha256: 3b2f4c3813dac9dbae60334dd0564a33624e85d68f415d043af4a2c8e6bf78ab

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 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
        super
        Chef::Config.from_file('solo.rb')
        run_command "rm -rf #{Chef::Config.file_cache_path}"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
knife-solo-0.0.14 lib/chef/knife/wash_up.rb
knife-solo-0.0.13 lib/chef/knife/wash_up.rb
knife-solo-0.0.12 lib/chef/knife/wash_up.rb
knife-solo-0.0.11 lib/chef/knife/wash_up.rb
knife-solo-0.0.10 lib/chef/knife/wash_up.rb