X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..2f0b6f10a1269e4a0a3ae8897d6fda10dd14fb4d:/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"] } )