# File lib/handlers/package.rb, line 112 def remove(name) if options.remote? require_appliance do |appliance| response= appliance.remove_package(name) say "State: #{response['state']}" end else package_file= PackageFile.new package_file.push('remove', name) package_file.save say "#{name} marked for removal" end end