Sha256: 0f617526f1db6d2dd9ed253f509f42edd67d33208bf2622d04eb0827bc9f79fc

Contents?: true

Size: 566 Bytes

Versions: 28

Compression:

Stored size: 566 Bytes

Contents

$:.unshift File.dirname(__FILE__)+'/../lib/'
require "poolparty"

pool :acres do
  
  cloud :garden do
    os :centos
    instances 1 #this should equal the number of hosts listed below
    keypair 'id_rsa'  # this keypair must be in /root/.ssh/authorized_keys on each host
    has_file '/etc/motd', :content=>"Welcome to the #{self.name} cloud"
    has_file '/touhced'
    has_directory '/mnt/ebs', :owner => 'poolparty'
    has_exec 'touch /tmp/touched'
    
    using :ssh do
      hosts %w(67.23.21.192)  #the hosts to use in this cloud
    end
    
  end
  
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
auser-poolparty-1.3.0 examples/ssh_garden.rb
auser-poolparty-1.3.1 examples/ssh_garden.rb
auser-poolparty-1.3.10 examples/ssh_garden.rb
auser-poolparty-1.3.11 examples/ssh_garden.rb
auser-poolparty-1.3.12 examples/ssh_garden.rb
auser-poolparty-1.3.13 examples/ssh_garden.rb
auser-poolparty-1.3.14 examples/ssh_garden.rb
auser-poolparty-1.3.15 examples/ssh_garden.rb
auser-poolparty-1.3.16 examples/ssh_garden.rb
auser-poolparty-1.3.17 examples/ssh_garden.rb
auser-poolparty-1.3.2 examples/ssh_garden.rb
auser-poolparty-1.3.3 examples/ssh_garden.rb
auser-poolparty-1.3.4 examples/ssh_garden.rb
auser-poolparty-1.3.5 examples/ssh_garden.rb
auser-poolparty-1.3.6 examples/ssh_garden.rb
auser-poolparty-1.3.7 examples/ssh_garden.rb
auser-poolparty-1.3.8 examples/ssh_garden.rb
fairchild-poolparty-1.3.17 examples/ssh_garden.rb
fairchild-poolparty-1.3.5 examples/ssh_garden.rb
poolparty-1.3.15 examples/ssh_garden.rb