Sha256: eee143f527f717942df2a4a95025f2f9d8a36ebec5093ac038e5aad6240239a2

Contents?: true

Size: 576 Bytes

Versions: 20

Compression:

Stored size: 576 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.compile!
      cld.bootstrap!
      
    end
    
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
poolparty-1.6.9 bin/cloud-bootstrap
poolparty-1.6.8 bin/cloud-bootstrap
poolparty-1.6.7 bin/cloud-bootstrap
poolparty-1.6.6 bin/cloud-bootstrap
poolparty-1.6.5 bin/cloud-bootstrap
poolparty-1.6.4 bin/cloud-bootstrap
poolparty-1.6.3 bin/cloud-bootstrap
poolparty-1.6.2 bin/cloud-bootstrap
poolparty-1.6.1 bin/cloud-bootstrap
poolparty-1.6.0 bin/cloud-bootstrap
poolparty-1.5.0 bin/cloud-bootstrap
poolparty-1.4.8 bin/cloud-bootstrap
poolparty-1.4.7 bin/cloud-bootstrap
poolparty-1.4.6 bin/cloud-bootstrap
poolparty-1.4.5 bin/cloud-bootstrap
poolparty-1.4.4 bin/cloud-bootstrap
poolparty-1.4.3 bin/cloud-bootstrap
poolparty-1.4.2 bin/cloud-bootstrap
poolparty-1.4.1 bin/cloud-bootstrap
poolparty-1.4.0 bin/cloud-bootstrap