]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ucl-wolfson.rb
Reconfigure ascalon for move to Wolfson House
[chef.git] / roles / ucl-wolfson.rb
diff --git a/roles/ucl-wolfson.rb b/roles/ucl-wolfson.rb
new file mode 100644 (file)
index 0000000..882621d
--- /dev/null
@@ -0,0 +1,27 @@
+name "ucl-wolfson"
+description "Role applied to all servers at UCL which are in Wolfson House"
+
+default_attributes(
+  :networking => {
+    :roles => {
+      :external => {
+        :zone => "ucl",
+        :inet => {
+          :prefix => "27",
+          :gateway => "128.40.45.222"
+        }
+      }
+    }
+  }
+)
+
+override_attributes(
+  :networking => {
+    :nameservers => [ "8.8.8.8", "8.8.4.4" ],
+    :search => [ "openstreetmap.org" ]
+  }
+)
+
+run_list(
+  "role[ucl]"
+)