]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-01.rb
Update carto stylesheet to v4.14.0
[chef.git] / roles / thorn-01.rb
index 40de2f07fe550cdb4be2a1f9d6402a95c7954a91..5e40db358de0838b4ea3fb1861d3d21a21f29fb5 100644 (file)
@@ -5,17 +5,28 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
-        :interface => "eth0",
+        :interface => "bond0",
         :role => :internal,
         :family => :inet,
-        :address => "146.179.159.165"
+        :address => "10.0.48.51",
+        :bond => {
+          :slaves => %w[eth0 eth1]
+        }
+      }
+    }
+  },
+  :sysctl => {
+    :ipv6_autoconf => {
+      :comment => "Disable IPv6 auto-configuration on internal interface",
+      :parameters => {
+        "net.ipv6.conf.eth0.autoconf" => "0",
+        "net.ipv6.conf.eth0.accept_ra" => "0"
       }
     }
   }
 )
 
 run_list(
-  "role[ic]",
-  "role[hp-g5]",
+  "role[equinix]",
   "role[web-backend]"
 )