X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/361fe7b2d59cd38452162f1c66f961f9f71ec377..931006c07c56a1fec61105791d5b65ee3711a069:/roles/nominatim-master.rb?ds=sidebyside diff --git a/roles/nominatim-master.rb b/roles/nominatim-master.rb index 0fa032677..bec27ef1e 100644 --- a/roles/nominatim-master.rb +++ b/roles/nominatim-master.rb @@ -6,11 +6,10 @@ default_attributes( :versions => ["9.3"], :settings => { :defaults => { - :listen_addresses => "*", :wal_level => "hot_standby", :archive_mode => "on", :archive_command => "/bin/cp %p /data/postgresql-archive/%f", - :max_wal_senders => "1", + :max_wal_senders => "5", :late_authentication_rules => [ { :database => "replication", :user => "replication", :address => "146.179.159.164/32" } ] @@ -18,6 +17,7 @@ default_attributes( } }, :nominatim => { + :enabled => true, :enable_backup => true }, :rsyncd => { @@ -40,5 +40,7 @@ default_attributes( ) run_list( - "role[nominatim]" + "role[nominatim]", + "recipe[nominatim::master]", + "recipe[rsyncd]" )