]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-03.rb
Block a sender of spam backscatter
[chef.git] / roles / thorn-03.rb
index da838574ea9b0f092c66b77aa856fb28a5e49457..042bb99f3ce13277c835b6595f31bb4bcb06f5b9 100644 (file)
@@ -11,10 +11,20 @@ default_attributes(
         :address => "146.179.159.167"
       }
     }
         :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"
+      }
+    }
   }
 )
 
 run_list(
   "role[ic]",
   }
 )
 
 run_list(
   "role[ic]",
+  "role[hp-g5]",
   "role[web-backend]"
 )
   "role[web-backend]"
 )