]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nchc.rb
Add role for longma
[chef.git] / roles / nchc.rb
diff --git a/roles/nchc.rb b/roles/nchc.rb
new file mode 100644 (file)
index 0000000..ebc9487
--- /dev/null
@@ -0,0 +1,23 @@
+name "nchc"
+description "Role applied to all servers at NCHC"
+
+default_attributes(
+  :networking => {
+    :nameservers => [ "8.8.8.8", "8.8.4.4" ],
+    :roles => {
+      :external => {
+        :zone => "nc"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => [ "0.tw.pool.ntp.org", "1.tw.pool.ntp.org", "europe.pool.ntp.org" ]
+  }
+)
+
+run_list(
+  "role[tw]"
+)