X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6fe70e0617968f663b11576344103743ee1ca31b..37306271bf3cec2ea3efd3f51d6da7dbc68d950a:/roles/eddie.rb?ds=sidebyside diff --git a/roles/eddie.rb b/roles/eddie.rb index 334ca47cd..61e452455 100644 --- a/roles/eddie.rb +++ b/roles/eddie.rb @@ -4,11 +4,12 @@ description "Master role applied to eddie" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "enp1s0f0.2801", :role => :internal, - :family => :inet, - :address => "10.0.0.10" + :inet => { + :address => "10.0.0.10" + } } } }, @@ -18,12 +19,9 @@ default_attributes( :shared_buffers => "64GB", :work_mem => "64MB", :maintenance_work_mem => "1GB", - :effective_cache_size => "180GB", - :effective_io_concurrency => "256", - :random_page_cost => "1.1" + :effective_cache_size => "180GB" } - }, - :versions => ["15"] + } }, :sysctl => { :postgres => { @@ -38,5 +36,5 @@ default_attributes( run_list( "role[ucl]", - "role[db-master]" + "role[db-slave]" )