]> git.openstreetmap.org Git - chef.git/blobdiff - roles/snap-01.rb
Switch piasa to use postgres 16
[chef.git] / roles / snap-01.rb
index db9b16e7420a6b6c258fe1b9c9d9bb3fc6330dee..d7fb452a5b52d14da2aa4576a1552f7129768180 100644 (file)
@@ -4,11 +4,12 @@ description "Master role applied to snap-01"
 default_attributes(
   :networking => {
     :interfaces => {
-      :internal_ipv4 => {
+      :internal => {
         :interface => "bond0",
         :role => :internal,
-        :family => :inet,
-        :address => "10.0.48.49",
+        :inet => {
+          :address => "10.0.48.49"
+        },
         :bond => {
           :mode => "802.3ad",
           :lacprate => "fast",
@@ -24,9 +25,7 @@ default_attributes(
         :shared_buffers => "128GB",
         :work_mem => "128MB",
         :maintenance_work_mem => "2GB",
-        :effective_cache_size => "360GB",
-        :effective_io_concurrency => "256",
-        :random_page_cost => "1.1"
+        :effective_cache_size => "360GB"
       }
     }
   },