Sha256: 00ba5c075ceb2af9ec8d2b213125066fb70b2d84904b27cb4235a59aa45f2caf
Contents?: true
Size: 579 Bytes
Versions: 39
Compression:
Stored size: 579 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) include Remote @clouds = extract_cloud_from_options o @clouds.each do |cl| with_cloud(cl, {:testing => o.testing}) do cmd = PoolParty::Remote::RemoteInstance.puppet_runner_command %x[#{cmd}] unless testing puts cmd end end
Version data entries
39 entries across 39 versions & 2 rubygems