Sha256: 6c5859e771d49c366b63c5048112626ecfe3f0ef2919b8d5efd1c853d414f6c4
Contents?: true
Size: 434 Bytes
Versions: 16
Compression:
Stored size: 434 Bytes
Contents
module Mccloud module Command class ReloadCommand < Base argument :box_name, :type => :string, :optional => true, :default => nil register "reload [NAME]", "Reboots the machine" def execute env.config.providers.each do |name,provider| env.logger.debug("Asking provider #{name} to reload box #{box_name}") provider.reload(box_name,options) end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems