]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nominatim.erb
Disable gpximport, statistics and cleanup roles on spike-04
[chef.git] / cookbooks / nominatim / templates / default / nominatim.erb
index d05c8f558465f2a24617c287a56181c6f71b129d..6e911223d93f7a1a62560b6bcef0ce62fd806993 100644 (file)
@@ -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);