Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 44 lines (39 sloc) 0.844 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
cookbooks:
- apt:
  - 1.5.1
- chef-client:
- ntp:
- openssh:
- sudo:
- users:
# - lxc:
- haproxy:
- apache2:
- demo-app:

data bags:
- users:
  - "*"

environments:
- sputnik:
- production:

roles:
- base:
- sputnik-base:
- haproxy:
- demo-app:

nodes:
- sputnik-laptop.local:
  - role[sputnik-base]
  - -i ~/.ssh/mray.pem -x mray --sudo -E sputnik
- lxc 1:
  - role[base],role[haproxy]
  - -I 10 -f2 ~/.ssh/mray.pem -E sputnik
- lxc 2:
  - role[base],role[demo-app]
  - -I 10 -f2 ~/.ssh/mray.pem -N lxc-demo-app-{{n}} -E sputnik
- openstack 1:
  - role[base],role[haproxy]
  - -f 100 -I 9883 -S testing-az2 -G haproxy,default -i ~/.ssh/testing-az2.pem -Z az2 -x ubuntu -E production
- openstack 2:
  - role[base],role[demo-app]
  - -f 100 -I 9883 -S testing-az2 -N cloud-demo-app-{{n}} -i ~/.ssh/testing-az2.pem -Z az2 -x ubuntu -E production
Something went wrong with that request. Please try again.