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

Version Path
auser-poolparty-0.2.45 bin/cloud-osxcopy
auser-poolparty-0.2.46 bin/cloud-osxcopy
auser-poolparty-0.2.47 bin/cloud-osxcopy
auser-poolparty-0.2.48 bin/cloud-osxcopy
auser-poolparty-0.2.49 bin/cloud-osxcopy
auser-poolparty-0.2.50 bin/cloud-osxcopy
auser-poolparty-0.2.51 bin/cloud-osxcopy
auser-poolparty-0.2.52 bin/cloud-osxcopy
auser-poolparty-0.2.53 bin/cloud-osxcopy
auser-poolparty-0.2.54 bin/cloud-osxcopy
auser-poolparty-0.2.55 bin/cloud-osxcopy
auser-poolparty-0.2.56 bin/cloud-osxcopy
auser-poolparty-0.2.57 bin/cloud-osxcopy
auser-poolparty-0.2.58 bin/cloud-osxcopy
auser-poolparty-0.2.59 bin/cloud-osxcopy
auser-poolparty-0.2.60 bin/cloud-osxcopy
auser-poolparty-0.2.61 bin/cloud-osxcopy
auser-poolparty-0.2.62 bin/cloud-osxcopy
auser-poolparty-0.2.63 bin/cloud-osxcopy
auser-poolparty-0.2.64 bin/cloud-osxcopy