]> git.openstreetmap.org Git - chef.git/blobdiff - roles/horntail.rb
Move OSUOSL hosts to use interface inheritance for network configuration
[chef.git] / roles / horntail.rb
index 8d1742da19a1ba9bb6630616c05ee421dd271f5d..b09bf796bf7360ae27c3519399d5fa8260535474 100644 (file)
@@ -4,34 +4,36 @@ description "Master role applied to horntail"
 default_attributes(
   :networking => {
     :interfaces => {
 default_attributes(
   :networking => {
     :interfaces => {
-      :internal_ipv4 => {
-        :interface => "bond0",
-        :role => :internal,
-        :family => :inet,
-        :address => "10.0.64.10",
+      :internal => {
+        :inet => {
+          :address => "10.0.64.10"
+        },
         :bond => {
         :bond => {
-          :mode => "802.3ad",
-          :lacprate => "fast",
-          :xmithashpolicy => "layer3+4",
-          :slaves => %w[eno1 eno2 eno3 eno4]
+          :slaves => %w[enp25s0f0 enp25s0f1]
         }
       },
         }
       },
-      :external_ipv4 => {
-        :interface => "bond0.101",
-        :role => :external,
-        :family => :inet,
-        :address => "184.104.226.106"
+      :henet => {
+        :inet => {
+          :address => "184.104.226.106"
+        },
+        :inet6 => {
+          :address => "2001:470:1:b3b::a"
+        }
       },
       },
-      :external_ipv6 => {
-        :interface => "bond0.101",
-        :role => :external,
-        :family => :inet6,
-        :address => "2001:470:1:b3b::a"
+      :equinix => {
+        :inet => {
+          :address => "87.252.214.106"
+        },
+        :inet6 => {
+          :address => "2001:4d78:fe03:1c::a"
+        }
       }
     }
   }
 )
 
 run_list(
       }
     }
   }
 )
 
 run_list(
-  "role[equinix-dub]"
+  "role[equinix-dub-public]",
+  "role[geodns]",
+  "role[planet]"
 )
 )