X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dbf7c55e6db5cfa92c0702bada70d4d9757fa39a..7cb4a81dacec7d6c6404241b58bf8340678ab8ab:/roles/nominatim-slave.rb diff --git a/roles/nominatim-slave.rb b/roles/nominatim-slave.rb index a161d90cd..0ef9a9f51 100644 --- a/roles/nominatim-slave.rb +++ b/roles/nominatim-slave.rb @@ -7,23 +7,17 @@ default_attributes( :defaults => { :hot_standby => "on", :hot_standby_feedback => "on", - :standby_mode => "on", - :primary_conninfo => { - :host => "pummelzacken.ucl.openstreetmap.org", - :port => "5432", - :user => "replication", - :passwords => { :bag => "nominatim", :item => "passwords" } - }, - :restore_command => "/usr/bin/rsync pummelzacken.ucl.openstreetmap.org::archive/%f %p" + :standby_mode => "on" } } }, :nominatim => { + :state => "slave", :enable_backup => false } ) run_list( - "role[nominatim]", - "recipe[nominatim::slave]" + "recipe[nominatim::slave]", + "role[nominatim-base]" )