Sha256: c02fbe6f5850a2bed80b404864dea1bcf821105260e05102eb746d27b1dfbdd8
Contents?: true
Size: 701 Bytes
Versions: 2
Compression:
Stored size: 701 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 name', '--name name', 'Listing for cloud name') { |c| optioner.cloudname c } end load_pool(o.spec || Binary.get_existing_spec_location) @provision_class = o.provision_class || "all" include Remote @clouds = o.cloudname ? {:cloud => cloud(o.cloudname.downcase.to_sym)} : clouds @clouds.each do |name, cloud| with_cloud(cloud, {:testing => o.testing}) do cmd = "puppetca --clean --all && puppetrun --host puppet #{list_of_node_names.join(", --host ")}" run_command_on(cmd, master) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auser-poolparty-0.2.2 | bin/cloud-reconfigure |
auser-poolparty-0.2.3 | bin/cloud-reconfigure |