X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/956ffe2008afb266d5fa00010e642e8af03c48b0..5af95bd6e511c5b9f9e737b69b944fc00b60d42b:/roles/nominatim-slave.rb diff --git a/roles/nominatim-slave.rb b/roles/nominatim-slave.rb index fd2691cd6..0ef9a9f51 100644 --- a/roles/nominatim-slave.rb +++ b/roles/nominatim-slave.rb @@ -3,28 +3,21 @@ description "Role applied to all slave nominatim servers" default_attributes( :postgresql => { - :versions => ["9.3"], :settings => { :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]" )