]> git.openstreetmap.org Git - chef.git/blobdiff - roles/katla.rb
Switch back to CUBIC for congestion control
[chef.git] / roles / katla.rb
index 194b139b6eba2994517433f7350f223e0d76ebbf..6f5376f0889cb28dd8dc043e609255d07098900b 100644 (file)
@@ -2,9 +2,6 @@ name "katla"
 description "Master role applied to katla"
 
 default_attributes(
-  :apt => {
-    :sources => ["postgresql"]
-  },
   :db => {
     :cluster => "9.5/main"
   },
@@ -74,13 +71,6 @@ default_attributes(
     }
   },
   :sysctl => {
-    :ipv6_autoconf => {
-      :comment => "Disable IPv6 auto-configuration on internal interface",
-      :parameters => {
-        "net.ipv6.conf.bond0.autoconf" => "0",
-        "net.ipv6.conf.bond0.accept_ra" => "0"
-      }
-    },
     :postgres => {
       :comment => "Increase shared memory for postgres",
       :parameters => {
@@ -93,6 +83,5 @@ default_attributes(
 
 run_list(
   "role[bytemark]",
-  "role[db-master]",
-  "role[db-backup]"
+  "role[db-slave]"
 )