Sha256: 4d787ee9db0f1544c72a5bc1fb34ec8a837c4d04fceb238a26ce071416902ad1

Contents?: true

Size: 725 Bytes

Versions: 11

Compression:

Stored size: 725 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|
  optioner.cloudnames
  # optioner.daemonizeable
end

o.loaded_clouds.each do |cloud|
  
  with_cloud(cloud) do
    
    # hide_output do
      # if provision_class == "master" || provision_class == "all"
      @cl = self
      daemon ? daemonize {Provisioner.configure_master(@cl, testing)} : 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

11 entries across 11 versions & 1 rubygems

Version Path
auser-poolparty-0.2.69 bin/cloud-configure
auser-poolparty-0.2.70 bin/cloud-configure
auser-poolparty-0.2.71 bin/cloud-configure
auser-poolparty-0.2.72 bin/cloud-configure
auser-poolparty-0.2.74 bin/cloud-configure
auser-poolparty-0.2.76 bin/cloud-configure
auser-poolparty-0.2.77 bin/cloud-configure
auser-poolparty-0.2.78 bin/cloud-configure
auser-poolparty-0.2.79 bin/cloud-configure
auser-poolparty-0.2.80 bin/cloud-configure
auser-poolparty-0.2.81 bin/cloud-configure