X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1cca26b2aa78177e6f9f0124a66e0a92773108c7..f7dd6716f0f63c8f74b2a14efe19672a0853c6c2:/roles/hetzner.rb 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"] } )