X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1cca26b2aa78177e6f9f0124a66e0a92773108c7..f795ac53f87d813d560d314db36b3885611d13a0:/roles/hetzner.rb?ds=sidebyside diff --git a/roles/hetzner.rb b/roles/hetzner.rb index 948001afa..4948c8d6c 100644 --- a/roles/hetzner.rb +++ b/roles/hetzner.rb @@ -2,6 +2,10 @@ name "hetzner" description "Role applied to all servers at Hetzner" default_attributes( + :hosted_by => "Hetzner" +) + +override_attributes( :networking => { :nameservers => [ "213.133.98.98", @@ -10,18 +14,10 @@ default_attributes( "2a01:4f8:0:a111::add:9898", "2a01:4f8:0:a102::add:9999", "2a01:4f8:0:a0a1::add:1010" - ], - :roles => { - :external => { - :zone => "hz" - } - } - } -) - -override_attributes( + ] + }, :ntp => { - :servers => [ "0.de.pool.ntp.org", "1.de.pool.ntp.org", "europe.pool.ntp.org" ] + :servers => ["0.de.pool.ntp.org", "1.de.pool.ntp.org", "europe.pool.ntp.org"] } )