]> git.openstreetmap.org Git - chef.git/blob - roles/iway.rb
Add role for chrysophylax
[chef.git] / roles / iway.rb
1 name "iway"
2 description "Role applied to all servers at iWay"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :cramer => { :status => :administrator }
8     }
9   },
10   :hosted_by => "iWay",
11   :location => "Zurich, Switzerland",
12   :networking => {
13     :nameservers => ["2001:8e0:ffff:ac1::1", "8.8.8.8", "8.8.4.4"],
14     :roles => {
15       :external => {
16         :zone => "osm"
17       }
18     }
19   }
20 )
21
22 override_attributes(
23   :ntp => {
24     :servers => ["0.ch.pool.ntp.org", "1.ch.pool.ntp.org", "europe.pool.ntp.org"]
25   }
26 )
27
28 run_list(
29   "role[ch]"
30 )