]> git.openstreetmap.org Git - chef.git/blobdiff - roles/jump.rb
Use a common set of default resolvers, defaulting to cloudflare
[chef.git] / roles / jump.rb
index 4186ecc4cdd7fe97d48bb9f4ac90096f4f1c8c82..eb24ced21e3c60cbd00c91dac8a9780db84316c1 100644 (file)
@@ -3,18 +3,13 @@ description "Role applied to all servers at Jump Networks"
 
 default_attributes(
   :hosted_by => "Jump Networks",
-  :location => "London, England",
-  :networking => {
-    :nameservers => [
-      "185.73.44.3",
-      "2001:ba8:0:2c02::",
-      "2001:ba8:0:2c03::",
-      "2001:ba8:0:2c04::"
-    ]
-  }
+  :location => "London, England"
 )
 
 override_attributes(
+  :networking => {
+    :nameservers => ["185.73.44.3", "2001:ba8:0:2c02::", "2001:ba8:0:2c03::", "2001:ba8:0:2c04::"]
+  },
   :ntp => {
     :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"]
   }