X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c61bfd4788208f32a536d04c9e6b7c406d222f9f..4687a5bf9faa00f2ff3a14545cdd58a65a65ab8d:/cookbooks/nominatim/templates/default/nominatim.erb diff --git a/cookbooks/nominatim/templates/default/nominatim.erb b/cookbooks/nominatim/templates/default/nominatim.erb index d05c8f558..6e911223d 100644 --- a/cookbooks/nominatim/templates/default/nominatim.erb +++ b/cookbooks/nominatim/templates/default/nominatim.erb @@ -9,3 +9,13 @@ 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', '<%= node[:nominatim][:logdir] %>/query.log'); +@define('CONST_Log_DB', false);