]> git.openstreetmap.org Git - chef.git/blobdiff - roles/spike-02.rb
Move Dublin hosts to use interface inheritance for network configuration
[chef.git] / roles / spike-02.rb
index dfded54c3a07cc66121e00811c09cb6c15e8a7c5..4e178bdec3f011b97f5d206311ae95351a773abf 100644 (file)
@@ -5,34 +5,35 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal => {
-        :interface => "bond0",
-        :role => :internal,
         :inet => {
           :address => "10.0.64.4"
         },
         :bond => {
-          :mode => "802.3ad",
-          :lacprate => "fast",
-          :xmithashpolicy => "layer3+4",
           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
         }
       },
-      :external => {
-        :interface => "bond0.101",
-        :role => :external,
+      :henet => {
         :inet => {
           :address => "184.104.226.100"
         },
         :inet6 => {
           :address => "2001:470:1:b3b::4"
         }
+      },
+      :equinix => {
+        :inet => {
+          :address => "87.252.214.100"
+        },
+        :inet6 => {
+          :address => "2001:4d78:fe03:1c::4"
+        }
       }
     }
   }
 )
 
 run_list(
-  "role[equinix-dub]",
+  "role[equinix-dub-public]",
   "role[hp-g9]",
   "role[web-frontend]"
 )