X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0d9bec04a63b9ea941f4c263e0d3bc9487444b8f..4ad1c3e037df10b4b092b3c0c114150a78917f0a:/roles/hetzner.rb diff --git a/roles/hetzner.rb b/roles/hetzner.rb index 1809048d9..4948c8d6c 100644 --- a/roles/hetzner.rb +++ b/roles/hetzner.rb @@ -2,26 +2,22 @@ name "hetzner" description "Role applied to all servers at Hetzner" default_attributes( + :hosted_by => "Hetzner" +) + +override_attributes( :networking => { :nameservers => [ "213.133.98.98", "213.133.99.99", "213.133.100.100", - "[2a01:4f8:0:a111::add:9898]", - "[2a01:4f8:0:a102::add:9999]", - "[2a01:4f8:0:a0a1::add:1010]" - ], - :roles => { - :external => { - :zone => "hz" - } - } - } -) - -override_attributes( + "2a01:4f8:0:a111::add:9898", + "2a01:4f8:0:a102::add:9999", + "2a01:4f8:0:a0a1::add:1010" + ] + }, :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"] } )