]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-03.rb
Ignore RAs on internal network for spikes and thorns
[chef.git] / roles / thorn-03.rb
index cf1d721a986b9d8c1c159a9497f6b1fcc2b30d35..d2f7cf602deecd939aae7b59cc0dd87210b04a49 100644 (file)
@@ -11,6 +11,18 @@ default_attributes(
         :address => "146.179.159.167"
       }
     }
+  },
+  :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"
+      }
+    }
+  },
+  :web => {
+    :readonly_database_host => "db-slave"
   }
 )