]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nominatim.erb
Merge remote-tracking branch 'github/pull/89'
[chef.git] / cookbooks / nominatim / templates / default / nominatim.erb
index 591f826e549b1c9af0b05f1c5a0aa87e5bea8cfa..6e911223d93f7a1a62560b6bcef0ce62fd806993 100644 (file)
@@ -10,4 +10,12 @@ else
 @define('CONST_Postgresql_Version', '<%= @postgres_version %>');
 @define('CONST_Postgis_Version', '<%= node[:nominatim][:database][:postgis] %>');
 
-@define('CONST_Log_File', '/var/log/nominatim/query.log');
+@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);