Sha256: bcea863c07adee21318b3b781ff4571688423a16a3de89850dbff1e3a6c4f3c8

Contents?: true

Size: 611 Bytes

Versions: 26

Compression:

Stored size: 611 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)

@location = o.location ? o.location : "remote"

include Remote

@clouds = o.cloudname ? [cloud(o.cloudname.downcase.to_sym)] : clouds

@clouds.each do |name, cloud|
  
  with_cloud(cloud, {:location => @location}) do
    Kernel.system "echo #{master.ip.chomp} | pbcopy"
  end
  
end

Version data entries

26 entries across 26 versions & 2 rubygems

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