]> git.openstreetmap.org Git - chef.git/blobdiff - roles/karm.rb
Add role for tabaluga
[chef.git] / roles / karm.rb
index 197693e904c40de5dc0ea39f0b58106ceb330568..9f1fc2a9a6ac9d535c8a7280a5b42f3a17c03291 100644 (file)
@@ -11,11 +11,13 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "enp1s0f0",
+        :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "146.179.159.168",
-        :hwaddress => "0c:c4:7a:a3:aa:ac"
+        :address => "10.0.48.50",
+        :bond => {
+          :slaves => %w[enp1s0f0 enp1s0f1]
+        }
       }
     }
   },
@@ -58,6 +60,7 @@ default_attributes(
 )
 
 run_list(
-  "role[ic]",
-  "role[db-master]"
+  "role[equinix]",
+  "role[db-master]",
+  "role[db-backup]"
 )