]> git.openstreetmap.org Git - chef.git/blobdiff - roles/horntail.rb
Switch horntail to use systemd-networkd
[chef.git] / roles / horntail.rb
index a7a4cc7832780e45f20926c3defd2a2d575a8b9d..65b0ccd48fed095387e6fa01cac8c12d01a1f5e1 100644 (file)
@@ -3,12 +3,14 @@ description "Master role applied to horntail"
 
 default_attributes(
   :networking => {
+    :engine => "systemd-networkd",
     :interfaces => {
-      :internal_ipv4 => {
+      :internal => {
         :interface => "bond0",
         :role => :internal,
-        :family => :inet,
-        :address => "10.0.64.10",
+        :inet => {
+          :address => "10.0.64.10"
+        },
         :bond => {
           :mode => "802.3ad",
           :lacprate => "fast",
@@ -16,17 +18,15 @@ default_attributes(
           :slaves => %w[enp25s0f0 enp25s0f1]
         }
       },
-      :external_ipv4 => {
+      :external => {
         :interface => "bond0.101",
         :role => :external,
-        :family => :inet,
-        :address => "184.104.226.106"
-      },
-      :external_ipv6 => {
-        :interface => "bond0.101",
-        :role => :external,
-        :family => :inet6,
-        :address => "2001:470:1:b3b::a"
+        :inet => {
+          :address => "184.104.226.106"
+        },
+        :inet6 => {
+          :address => "2001:470:1:b3b::a"
+        }
       }
     }
   }
@@ -34,5 +34,6 @@ default_attributes(
 
 run_list(
   "role[equinix-dub]",
+  "role[geodns]",
   "role[planet]"
 )