]> git.openstreetmap.org Git - chef.git/blob - roles/tetaneutral.rb
1fc9bd07f85d4283b45d29b0a8e2a64fba34ed6b
[chef.git] / roles / tetaneutral.rb
1 name "tetaneutral"
2 description "Role applied to all servers at Tetaneutral.net"
3
4 default_attributes(
5   :hosted_by => "Tetaneutral.net",
6   :location => "Toulouse, France",
7   :networking => {
8     :nameservers => [
9       "8.8.8.8",
10       "8.8.4.4"
11     ],
12     :roles => {
13       :external => {
14         :zone => "tnn"
15       }
16     }
17   }
18 )
19
20 override_attributes(
21   :ntp => {
22     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
23   }
24 )
25
26 run_list(
27   "role[fr]"
28 )