]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ucl.rb
Upgrade bytemark machines to chef 13
[chef.git] / roles / ucl.rb
index 2dd44ee70d741166cc08181046523a06a58ec477..7715e629aaaf812e555f8f510505040783b0999c 100644 (file)
@@ -2,13 +2,36 @@ name "ucl"
 description "Role applied to all servers at UCL"
 
 default_attributes(
-  :bind => {
-    :forwarders => ["144.82.100.1", "144.82.100.41"]
+  :chef => {
+    :client => {
+      :version => "13.6.4"
+    }
   },
-  :location => "London, England"
+  :location => "Slough, England",
+  :networking => {
+    :roles => {
+      :internal => {
+        :inet => {
+          :prefix => "20",
+          :gateway => "10.0.0.3"
+        }
+      },
+      :external => {
+        :zone => "ucl",
+        :inet => {
+          :prefix => "24",
+          :gateway => "193.60.236.254"
+        }
+      }
+    }
+  }
 )
 
 override_attributes(
+  :networking => {
+    :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"],
+    :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
+  },
   :ntp => {
     :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"]
   }