]> git.openstreetmap.org Git - chef.git/blob - roles/milkywan.rb
Use a working IPv4 resolved for necrosan
[chef.git] / roles / milkywan.rb
1 name "milkywan"
2 description "Role applied to all servers at MilkyWan"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :milkywan => { :status => :administrator }
8     }
9   },
10   :hosted_by => "MilkyWan",
11   :location => "France",
12   :networking => {
13     :nameservers => ["8.8.8.8", "2a0b:cbc0:42::42"],
14     :roles => {
15       :external => {
16         :zone => "osm"
17       }
18     }
19   }
20 )
21
22 override_attributes(
23   :ntp => {
24     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
25   }
26 )
27
28 run_list(
29   "role[fr]"
30 )