Sha256: 1a3b92f0d58ce2eedf4c9ca24c2f13e60f96a4ce77f0838d129dbdb97cba7a32
Contents?: true
Size: 626 Bytes
Versions: 8
Compression:
Stored size: 626 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} Bootstrap a cloud instance EOS short_desc "Bootstrap a cloud instance" opt :inst_num, "The number of the instance to run bootstrap on", :type => :int opt :force, "Force rebootstrapping (useful for upgrading)", :default => false run do |command| @loaded_clouds.each do |cld| cld.nodes.each do |node| node.bootstrap!(:force=>command[:force]) end end end end
Version data entries
8 entries across 8 versions & 2 rubygems