X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4580187facb6dad0c10940fe92b39f6aaa859823..aba1410ce84a9f89371e3541768bbadcae65505f:/cookbooks/nominatim/templates/default/nominatim.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/nominatim.erb b/cookbooks/nominatim/templates/default/nominatim.erb index 591f826e5..d1c3517e6 100644 --- a/cookbooks/nominatim/templates/default/nominatim.erb +++ b/cookbooks/nominatim/templates/default/nominatim.erb @@ -10,4 +10,12 @@ else @define('CONST_Postgresql_Version', '<%= @postgres_version %>'); @define('CONST_Postgis_Version', '<%= node[:nominatim][:database][:postgis] %>'); +@define('CONST_Osm2pgsql_Flatnode_File', '<%= node[:nominatim][:flatnode_file] %>'); +@define('CONST_Search_NameOnlySearchFrequencyThreshold', 500); + +<% node[:nominatim][:tablespaces].each do |part,name| -%> +@define('CONST_Tablespace_<%= part %>', '<%= name %>'); +<% end -%> + @define('CONST_Log_File', '/var/log/nominatim/query.log'); +@define('CONST_Log_DB', false);