Sha256: 2d5907217a321ae039971ec14748376499619fb892b6b9315a0a14cc3b71868d
Contents?: true
Size: 752 Bytes
Versions: 19
Compression:
Stored size: 752 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_by(1) msg = [ "Your cloud has expanded by node: #{inst.public_ip}" ] print_msg(msg) end end end
Version data entries
19 entries across 19 versions & 1 rubygems