X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9dec626c9061f2ac4e962b66c42c90df2cd4d4ed..427fc63d523743677b1cc842bd871c88346d875c:/roles/nominatim-master.rb diff --git a/roles/nominatim-master.rb b/roles/nominatim-master.rb index e54179fd7..85baaf892 100644 --- a/roles/nominatim-master.rb +++ b/roles/nominatim-master.rb @@ -3,14 +3,12 @@ description "Role applied to the master nominatim server" default_attributes( :postgresql => { - :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 +16,7 @@ default_attributes( } }, :nominatim => { + :enabled => true, :enable_backup => true }, :rsyncd => { @@ -41,5 +40,6 @@ default_attributes( run_list( "role[nominatim]", + "recipe[nominatim::master]", "recipe[rsyncd]" )