]> git.openstreetmap.org Git - chef.git/blobdiff - roles/catalyst.rb
Add role for waima
[chef.git] / roles / catalyst.rb
diff --git a/roles/catalyst.rb b/roles/catalyst.rb
new file mode 100644 (file)
index 0000000..cc6a7a2
--- /dev/null
@@ -0,0 +1,25 @@
+name "catalyst"
+description "Role applied to all servers at Catalyst"
+
+default_attributes(
+  :hosted_by => "Catalyst",
+  :location => "New Zealand",
+  :networking => {
+    :nameservers => ["202.78.244.85", "202.78.244.86", "202.78.244.87"],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "asia.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[nz]"
+)