Sha256: f4c7b695270340ae889772d021c7330ca2795d8eb7b0943e62318df35819576e

Contents?: true

Size: 506 Bytes

Versions: 9

Compression:

Stored size: 506 Bytes

Contents

cloud :binary_testing_cloud do
  keypair "bob"
  has_file :name => "/etc/motd", :content => "Welcome to the cloud"        
  has_file :name => "/etc/profile", :content => "profile info"
  has_directory :name => "/var/www"
  # has_package :name => "bash"        
  # parent == cloud
  apache do
    # parent == apache
    listen "8080"
    has_file :name => "/etc/apache2/apache2.conf"
  end
  
  case_of "hostname" do
    when_is 'master' do            
      has_package :name=>'haproxy'
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
auser-poolparty-1.1.1 spec/bin/fixtures/bin_cloud_for_test.rb
auser-poolparty-1.1.3 spec/bin/fixtures/bin_cloud_for_test.rb
auser-poolparty-1.1.4 spec/bin/fixtures/bin_cloud_for_test.rb
auser-poolparty-1.1.5 spec/bin/fixtures/bin_cloud_for_test.rb
auser-poolparty-1.1.6 spec/bin/fixtures/bin_cloud_for_test.rb
auser-poolparty-1.1.7 spec/bin/fixtures/bin_cloud_for_test.rb
fairchild-poolparty-1.1.3 spec/bin/fixtures/bin_cloud_for_test.rb
fairchild-poolparty-1.1.4 spec/bin/fixtures/bin_cloud_for_test.rb
fairchild-poolparty-1.1.5 spec/bin/fixtures/bin_cloud_for_test.rb