]> git.openstreetmap.org Git - chef.git/blobdiff - roles/thorn-01.rb
Reduce random_page_cost for postgres instances on SSD
[chef.git] / roles / thorn-01.rb
index 40de2f07fe550cdb4be2a1f9d6402a95c7954a91..b06587b5eba12921d9fdeea9132afd843f55333a 100644 (file)
@@ -11,11 +11,19 @@ default_attributes(
         :address => "146.179.159.165"
       }
     }
         :address => "146.179.159.165"
       }
     }
+  },
+  :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]"
 )