]> git.openstreetmap.org Git - chef.git/blob - roles/hetzner.rb
Only reserve one CPU for other tasks on render 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 )
7
8 override_attributes(
9   :networking => {
10     :nameservers => [
11       "213.133.98.98",
12       "213.133.99.99",
13       "213.133.100.100",
14       "2a01:4f8:0:a111::add:9898",
15       "2a01:4f8:0:a102::add:9999",
16       "2a01:4f8:0:a0a1::add:1010"
17     ]
18   },
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 )