]> git.openstreetmap.org Git - chef.git/blobdiff - roles/fafnir.rb
nominatim: also send CORS headers for 404 responses
[chef.git] / roles / fafnir.rb
index 76a6efc62163b0f9691743cf8e29e86c14b3cc44..1e19617f9c3e866756e0f8928cbefd7553a7147b 100644 (file)
@@ -2,6 +2,13 @@ name "fafnir"
 description "Master role applied to fafnir"
 
 default_attributes(
+  :bind => {
+    :clients => "equinix-dub"
+  },
+  :dhcpd => {
+    :first_address => "10.0.79.1",
+    :last_address => "10.0.79.254"
+  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
@@ -12,7 +19,8 @@ default_attributes(
         :bond => {
           :mode => "802.3ad",
           :lacprate => "fast",
-          :slaves => %w[eno1 eno2]
+          :xmithashpolicy => "layer3+4",
+          :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
         }
       },
       :external_ipv4 => {
@@ -35,5 +43,6 @@ run_list(
   "role[equinix-dub]",
   "role[hp-g9]",
   "role[gateway]",
-  "role[web-storage]"
+  "role[web-storage]",
+  "recipe[dhcpd]"
 )