Sha256: c9bb0e1639e156667430922c93cbd4b23d7209cfce4afba4c22fc5a610a0040c

Contents?: true

Size: 445 Bytes

Versions: 8

Compression:

Stored size: 445 Bytes

Contents

host_template 'app_host' do
  group :app_hosts

  interface :internal, :eth0

  runs :ssh
  runs :http
end

0.upto(2) do |i|
  app_host "app_host_#{i}"
end

app_host 'app_host_3' do
  runs :nfs
end

host 'dax' do
  interface :internal, :eth0
end

host 'db_host' do
  interface :internal, :eth0

  runs :ssh
  runs :mongodb, on: :internal, from: { :app_hosts  => :internal,
                                        Host['dax'] => :internal }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asbestos-0.0.9 examples/4_host_templates.rb
asbestos-0.0.8 examples/4_host_templates.rb
asbestos-0.0.7 examples/4_host_templates.rb
asbestos-0.0.6 examples/4_host_templates.rb
asbestos-0.0.5 examples/4_host_templates.rb
asbestos-0.0.4 examples/4_host_templates.rb
asbestos-0.0.3 examples/4_host_templates.rb
asbestos-0.0.1 examples/4_host_templates.rb