]> git.openstreetmap.org Git - chef.git/blob - roles/hetzner.rb
geodns: enable include_optional_ns to please picky DNS servers
[chef.git] / roles / hetzner.rb
1 name "hetzner"
2 description "Role applied to all servers at Hetzner"
3
4 default_attributes(
5   :hosted_by => "Hetzner",
6   :networking => {
7     :nameservers => [
8       "213.133.98.98",
9       "213.133.99.99",
10       "213.133.100.100",
11       "2a01:4f8:0:a111::add:9898",
12       "2a01:4f8:0:a102::add:9999",
13       "2a01:4f8:0:a0a1::add:1010"
14     ]
15   }
16 )
17
18 override_attributes(
19   :ntp => {
20     :servers => ["0.de.pool.ntp.org", "1.de.pool.ntp.org", "europe.pool.ntp.org"]
21   }
22 )
23
24 run_list(
25   "role[de]"
26 )