]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-02.rb
Ignore RAs on internal network for spikes and thorns
[chef.git] / roles / thorn-02.rb
index c896b14cbcaced6ee75b2cc77ab759ec39922137..7f37e8b17ff397e27d7a69f1fae4d4d0b5a9cbef 100644 (file)
@@ -12,6 +12,15 @@ default_attributes(
       }
     }
   },
+  :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"
   }