Sha256: 2948a6a0e7e89631a6d79eca0e4c7c55dfb6190f0bf886ad7921c112df3c8a99

Contents?: true

Size: 1.21 KB

Versions: 27

Compression:

Stored size: 1.21 KB

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('-t', '--type [master|slave|all]', 'Provision these instances (default: all)')    { |o| optioner.class_type o }
#   opts.on('-a', '--all', 'Provision all the instances')    { |o| optioner.all true }
#   opts.on('-n [name]', '--name [name]', 'Pool to provision (required)') {|o| optioner.cloud_name o }
# end
# load_pool(o.spec || Binary.get_existing_spec_location)
# 
# if o.cloud_name
#   @c = cloud(o.cloud_name.downcase.to_sym)
# else
#   puts "Cloud name required. Please specify it with -c [name]"
#   exit(0)
# end
# 
# if o.class_type && o.class_type != "all" && !o.all  
#   case o.class_type
#   when "master","m"
#     puts header("Provisioning the master instances")    
#   when "slave", "s"
#     puts header("Provisioning the slave instances")
#   end
# else
#   # Provision all the instances
#   puts header("Provisioning all the instances")
#   provisioner_file = ::File.join(Base.storage_directory, "install.sh")
#   File.open(provisioner_file, "w+") do |file|
#     file << Provisioner::Master.install(@c)
#   end  
# end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
auser-poolparty-0.2.15 bin/pool-provision
auser-poolparty-0.2.16 bin/pool-provision
auser-poolparty-0.2.2 bin/pool-provision
auser-poolparty-0.2.20 bin/pool-provision
auser-poolparty-0.2.21 bin/pool-provision
auser-poolparty-0.2.22 bin/pool-provision
auser-poolparty-0.2.23 bin/pool-provision
auser-poolparty-0.2.24 bin/pool-provision
auser-poolparty-0.2.25 bin/pool-provision
auser-poolparty-0.2.26 bin/pool-provision
auser-poolparty-0.2.3 bin/pool-provision
auser-poolparty-0.2.35 bin/pool-provision
auser-poolparty-0.2.36 bin/pool-provision
auser-poolparty-0.2.37 bin/pool-provision
auser-poolparty-0.2.38 bin/pool-provision
auser-poolparty-0.2.39 bin/pool-provision
auser-poolparty-0.2.4 bin/pool-provision
auser-poolparty-0.2.40 bin/pool-provision
auser-poolparty-0.2.41 bin/pool-provision
auser-poolparty-0.2.42 bin/pool-provision