Sha256: e3e182588cf0eed0399aaeb2abaf99419b07d5413a47be029dca4863f41fc31a
Contents?: true
Size: 768 Bytes
Versions: 29
Compression:
Stored size: 768 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.dirname(__FILE__) + "/../lib") require "poolparty" require 'git-style-binary/command' GitStyleBinary.command do banner <<-EOS Usage: #{$0} #{all_options_string} expands the cloud by a single instance EOS short_desc "expands the cloud by a single instance" run do |command| @loaded_clouds.each do |cld| msg = [ "Expanding cloud #{cld.name} (#{cld.keypair})", "#{cld.nodes.size} running instances (#{cld.minimum_instances} - #{cld.maximum_instances})" ] print_msg(msg) inst = cld.expand inst.bootstrap! msg = [ "Your cloud has expanded by node: #{inst.public_ip}" ] print_msg(msg) end end end
Version data entries
29 entries across 29 versions & 3 rubygems