X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5f8214c1e30171c1328b358909cd80d255b50365..16c9e170f6e1df8c3618615410367f2fe89c41b1:/roles/snap-02.rb diff --git a/roles/snap-02.rb b/roles/snap-02.rb index ec5a6c427..80a2b3598 100644 --- a/roles/snap-02.rb +++ b/roles/snap-02.rb @@ -4,11 +4,12 @@ description "Master role applied to snap-02" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "eno1.2801", :role => :internal, - :family => :inet, - :address => "10.0.0.4" + :inet => { + :address => "10.0.0.4" + } } } }, @@ -18,12 +19,9 @@ 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" } - }, - :versions => ["14"] + } }, :sysctl => { :postgres => { @@ -38,5 +36,5 @@ default_attributes( run_list( "role[ucl]", - "role[db-master]" + "role[db-slave]" )