]> git.openstreetmap.org Git - chef.git/blobdiff - roles/inxza.rb
Use a common set of default resolvers, defaulting to cloudflare
[chef.git] / roles / inxza.rb
index aa80ea347f8b88c765964f3b2dfbad1920451f34..96dd61a960a9584fd929d78ba91fb03d9cb77922 100644 (file)
@@ -3,17 +3,13 @@ description "Role applied to all servers at INX-ZA"
 
 default_attributes(
   :hosted_by => "INX-ZA",
-  :location => "Cape Town, South Africa",
-  :networking => {
-    :nameservers => [
-      "196.10.52.52",
-      "196.10.54.54",
-      "196.10.55.55"
-    ]
-  }
+  :location => "Cape Town, South Africa"
 )
 
 override_attributes(
+  :networking => {
+    :nameservers => ["196.10.52.52", "196.10.54.54", "196.10.55.55"]
+  },
   :ntp => {
     :servers => ["0.za.pool.ntp.org", "1.za.pool.ntp.org", "africa.pool.ntp.org"]
   }