]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-03.rb
Add role for odin
[chef.git] / roles / thorn-03.rb
index 1be1235aa1391b6207c396147feb226e8139885b..9a2393669242a85d23a8652a14d53bf90c6232ee 100644 (file)
@@ -5,23 +5,19 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "eth0",
+        :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "146.179.159.167"
+        :address => "10.0.48.53",
+        :bond => {
+          :slaves => %w[eth0 eth1]
+        }
       }
     }
-  },
-  :sysctl => {
-    :ipv6_autoconf => {
-      :comment => "Disable IPv6 auto-configuration on internal interface",
-      :parameters => { "net.ipv6.conf.eth0.autoconf" => "0" }
-    }
   }
 )
 
 run_list(
-  "role[ic]",
-  "role[hp-g5]",
+  "role[equinix]",
   "role[web-backend]"
 )