Sha256: 069620478d02494f92c25826a45a56b83c05363a1bac19bf97ba2615ffebd6c9

Contents?: true

Size: 696 Bytes

Versions: 4

Compression:

Stored size: 696 Bytes

Contents

#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require "poolparty"
require "poolpartycl"

o = PoolParty::Optioner.new(ARGV) do |opts, optioner|
  opts.on('-n cloudname', '--name name', 'Start cloud by this name')    { |c| optioner.cloudname c }
end

o.loaded_clouds.each do |cloud|
  
  with_cloud(cloud) do
    
    # hide_output do
      # if provision_class == "master" || provision_class == "all"
        Provisioner.configure_master(self, testing)
      # end
      # if provision_class == "slave" || provision_class == "all"
      #   Provisioner.configure_slaves(self, testing)
      # end
    # end    
    clear_base_directory unless testing
  end    
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
auser-poolparty-0.2.66 bin/cloud-configure
auser-poolparty-0.2.67 bin/cloud-configure
auser-poolparty-0.2.68 bin/cloud-configure
poolparty-0.2.69 bin/cloud-configure