]> git.openstreetmap.org Git - chef.git/blobdiff - roles/muirdris.rb
Merge interface families
[chef.git] / roles / muirdris.rb
index f3717a54b753b23a1b750d5887d2f0ea74f56173..81cb6395367c8b980852cb4645c1e2a895ab839d 100644 (file)
@@ -2,13 +2,17 @@ name "muirdris"
 description "Master role applied to muirdris"
 
 default_attributes(
+  :memcached => {
+    :memory_limit => 128 * 1024
+  },
   :networking => {
     :interfaces => {
-      :internal_ipv4 => {
+      :internal => {
         :interface => "bond0",
         :role => :internal,
-        :family => :inet,
-        :address => "10.0.64.15",
+        :inet => {
+          :address => "10.0.64.15"
+        },
         :bond => {
           :mode => "802.3ad",
           :lacprate => "fast",
@@ -16,22 +20,21 @@ default_attributes(
           :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6]
         }
       },
-      :external_ipv4 => {
+      :external => {
         :interface => "bond0.101",
         :role => :external,
-        :family => :inet,
-        :address => "184.104.226.111"
-      },
-      :external_ipv6 => {
-        :interface => "bond0.101",
-        :role => :external,
-        :family => :inet6,
-        :address => "2001:470:1:b3b::f"
+        :inet => {
+          :address => "184.104.226.111"
+        },
+        :inet6 => {
+          :address => "2001:470:1:b3b::f"
+        }
       }
     }
   }
 )
 
 run_list(
-  "role[equinix-dub]"
+  "role[equinix-dub]",
+  "role[gps-tile]"
 )