]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ouroboros.rb
Make karm the database master
[chef.git] / roles / ouroboros.rb
index d1d5d727118e48b6d3850d1cd7ef295c4b630812..6c35f01c8acb96be60764421657fd1fdaf521bfd 100644 (file)
@@ -2,39 +2,35 @@ name "ouroboros"
 description "Master role applied to ouroboros"
 
 default_attributes(
-  :chef => {
-    :client => {
-      :version => "11.18.0-1"
-    }
-  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "eth0",
+        :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "146.179.159.172",
-        :hwaddress => "00:23:7d:ea:81:38"
+        :address => "10.0.48.4",
+        :bond => {
+          :slaves => %w[eth0 eth1]
+        }
       },
       :external_ipv4 => {
-        :interface => "eth1",
+        :interface => "bond0.2",
         :role => :external,
         :family => :inet,
-        :address => "193.63.75.106",
-        :hwaddress => "00:23:7d:ea:81:3a"
+        :address => "130.117.76.4"
       },
       :external_ipv6 => {
-        :interface => "eth1",
+        :interface => "bond0.2",
         :role => :external,
         :family => :inet6,
-        :address => "2001:630:12:500:223:7dff:feea:813a"
+        :address => "2001:978:2:2C::172:4"
       }
     }
   }
 )
 
 run_list(
-  "role[ic]",
-  "role[hp-g6]",
+  "role[equinix]",
+  "role[hp-dl360-g6]",
   "role[wiki]"
 )