Sha256: 1ab852e4b4c646f700e8be89600382fe644cd1ca2680cf6e947ba4c8c62c7ef9
Contents?: true
Size: 435 Bytes
Versions: 47
Compression:
Stored size: 435 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', 'Copy the master ip for this cloud') { |c| optioner.cloudname c } end o.loaded_clouds.each do |cloud| with_cloud(cloud, {:location => @location}) do Kernel.system "echo #{master.ip.chomp} | pbcopy" end end
Version data entries
47 entries across 47 versions & 2 rubygems