X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8f1ebda3ee9cff33dbd6ca29d24aea0f5294b04c..62c8abda084e509811837655ba68e99b80dfe56f:/roles/nominatim-master.rb diff --git a/roles/nominatim-master.rb b/roles/nominatim-master.rb index 44fd93608..bec27ef1e 100644 --- a/roles/nominatim-master.rb +++ b/roles/nominatim-master.rb @@ -9,7 +9,7 @@ default_attributes( :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" } ] @@ -17,6 +17,7 @@ default_attributes( } }, :nominatim => { + :enabled => true, :enable_backup => true }, :rsyncd => { @@ -40,5 +41,6 @@ default_attributes( run_list( "role[nominatim]", + "recipe[nominatim::master]", "recipe[rsyncd]" )