]> git.openstreetmap.org Git - chef.git/blobdiff - roles/katla.rb
Move promscale tuning to role and tune WAL sizes
[chef.git] / roles / katla.rb
index 8144942cfe550a11b8c793b7346482a6fa97e2ff..6143cf533a3e1565a6e25b779d8a432e22ec89c9 100644 (file)
@@ -2,12 +2,6 @@ name "katla"
 description "Master role applied to katla"
 
 default_attributes(
-  :apt => {
-    :sources => ["postgresql"]
-  },
-  :db => {
-    :cluster => "9.1/main"
-  },
   :devices => {
     :store_slow => {
       :comment => "RAID array mounted on /store/arrays/slow",
@@ -58,7 +52,7 @@ default_attributes(
         :family => :inet,
         :address => "10.0.32.40",
         :bond => {
-          :slaves => %w(eth0 eth1)
+          :slaves => %w[eth0 eth1]
         }
       }
     }
@@ -74,13 +68,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 => {