]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ucl.rb
Allow some extra apache processes to account for graceful termination
[chef.git] / roles / ucl.rb
index 7715e629aaaf812e555f8f510505040783b0999c..516c925d39f5e81073d242ca1d7a88425287596a 100644 (file)
@@ -2,18 +2,16 @@ name "ucl"
 description "Role applied to all servers at UCL"
 
 default_attributes(
-  :chef => {
-    :client => {
-      :version => "13.6.4"
-    }
-  },
   :location => "Slough, England",
   :networking => {
     :roles => {
       :internal => {
         :inet => {
           :prefix => "20",
-          :gateway => "10.0.0.3"
+          :gateway => "10.0.0.3",
+          :routes => {
+            "10.0.0.0/8" => { :via => "10.0.0.3" }
+          }
         }
       },
       :external => {
@@ -23,6 +21,9 @@ default_attributes(
           :gateway => "193.60.236.254"
         }
       }
+    },
+    :wireguard => {
+      :keepalive => 180
     }
   }
 )