]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ucl.rb
Reduce maximum multixact age for promscale
[chef.git] / roles / ucl.rb
index cb6bfce9bb929ce1a57204a6d6b34c8611ec1102..a0f5331f4a6c3c49ef44059e8481bd23b5cb2c2c 100644 (file)
@@ -2,14 +2,39 @@ name "ucl"
 description "Role applied to all servers at UCL"
 
 default_attributes(
-  :bind => {
-    :forwarders => [ "144.82.100.1", "144.82.100.41" ]
+  :location => "Slough, England",
+  :networking => {
+    :roles => {
+      :internal => {
+        :inet => {
+          :prefix => "20",
+          :gateway => "10.0.0.3",
+          :routes => {
+            "10.0.0.0/8" => { :via => "10.0.0.3" }
+          }
+        }
+      },
+      :external => {
+        :zone => "ucl",
+        :inet => {
+          :prefix => "24",
+          :gateway => "193.60.236.254"
+        }
+      }
+    },
+    :wireguard => {
+      :keepalive => 180
+    }
   }
 )
 
 override_attributes(
+  :networking => {
+    :nameservers => ["10.0.0.3", "1.1.1.1", "1.0.0.1"],
+    :search => ["ucl.openstreetmap.org", "openstreetmap.org"]
+  },
   :ntp => {
-    :servers => [ "ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk" ]
+    :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"]
   }
 )