X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7cb4a81dacec7d6c6404241b58bf8340678ab8ab..b2cbf18d5471f94854cd2230de74002ffe8706dc:/roles/dulcy.rb?ds=sidebyside diff --git a/roles/dulcy.rb b/roles/dulcy.rb index 447f6b524..a1e930e78 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -39,13 +39,23 @@ default_attributes( } }, :nominatim => { - :enabled => false, + :state => "standalone", + :enable_backup => false, + :dbadmins => %w(lonvia tomh), + :dbcluster => "9.5/main", :flatnode_file => "/ssd/nominatim/nodes.store", :logdir => "/ssd/nominatim/log", - :database => { - :cluster => "9.5/main", - :dbname => "nominatim", - :postgis => "2.2" + :tablespaces => { + "dosm" => "/ssd/tablespaces/dosm", + "iosm" => "/ssd/tablespaces/iosm", + "dplace" => "/ssd/tablespaces/dplace", + "iplace" => "/ssd/tablespaces/iplace", + "daddress" => "/ssd/tablespaces/daddress", + "iaddress" => "/ssd/tablespaces/iaddress", + "dsearch" => "/ssd/tablespaces/dsearch", + "isearch" => "/ssd/tablespaces/isearch", + "daux" => "/ssd/tablespaces/daux", + "iaux" => "/ssd/tablespaces/iaux" } }, :sysfs => { @@ -61,5 +71,5 @@ default_attributes( run_list( "role[ic]", - "role[nominatim-standalone]" + "role[nominatim]" )