Sha256: a03f9eea802ad2268854d8e8e6e82dd68e0207da6fded886008ff3efe0f313d1

Contents?: true

Size: 200 Bytes

Versions: 13

Compression:

Stored size: 200 Bytes

Contents

module Mccloud
  module Command
  def reload(selection=nil?)
    load_config
    on_selected_machines(selection) do |id,vm|
      puts "rebooting #{id}"
      vm.instance.reboot
    end
  end
end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mccloud-0.0.13 lib/mccloud/command/reload.rb
mccloud-0.0.12 lib/mccloud/command/reload.rb
mccloud-0.0.11 lib/mccloud/command/reload.rb
mccloud-0.0.10 lib/mccloud/command/reload.rb
mccloud-0.0.9 lib/mccloud/command/reload.rb
mccloud-0.0.8 lib/mccloud/command/reload.rb
mccloud-0.0.7 lib/mccloud/command/reload.rb
mccloud-0.0.6 lib/mccloud/command/reload.rb
mccloud-0.0.5 lib/mccloud/command/reload.rb
mccloud-0.0.4 lib/mccloud/command/reload.rb
mccloud-0.0.3 lib/mccloud/command/reload.rb
mccloud-0.0.2 lib/mccloud/command/reload.rb
mccloud-0.0.1 lib/mccloud/command/reload.rb