Sha256: e630538a05fc99e1bacb6b9c5e81b10a6708e6471787279b4fc96d50b64ab22d
Contents?: true
Size: 674 Bytes
Versions: 20
Compression:
Stored size: 674 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.cloud = cld # needed for bootstrap node.bootstrap!(:force=>command[:force]) end end end end
Version data entries
20 entries across 20 versions & 3 rubygems