]> git.openstreetmap.org Git - chef.git/blobdiff - roles/catalyst.rb
Use a common set of default resolvers, defaulting to cloudflare
[chef.git] / roles / catalyst.rb
index 44319813f7f5b0a46f92365b01a25ceb097c1f0a..413be9ed883a2b1f8832454f9a55dcd1de1cb66d 100644 (file)
@@ -3,13 +3,13 @@ description "Role applied to all servers at Catalyst"
 
 default_attributes(
   :hosted_by => "Catalyst",
-  :location => "Hamilton, New Zealand",
-  :networking => {
-    :nameservers => ["202.78.244.85", "202.78.244.86", "202.78.244.87"]
-  }
+  :location => "Hamilton, New Zealand"
 )
 
 override_attributes(
+  :networking => {
+    :nameservers => ["202.78.244.85", "202.78.244.86", "202.78.244.87"]
+  },
   :ntp => {
     :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "oceania.pool.ntp.org"]
   }