]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
nominatim: require lua libraries
[chef.git] / cookbooks / nominatim / recipes / default.rb
index 7b218d9511324d6b876286bdb7a4ba79925f2072..75f06fa568ee8371bf1b85e90eafbc5aeec42a10 100644 (file)
@@ -131,6 +131,8 @@ package %w[
   libbz2-dev
   libpq-dev
   libproj-dev
   libbz2-dev
   libpq-dev
   libproj-dev
+  liblua5.3-dev
+  lua5.3
   python3-pyosmium
   python3-psycopg2
   python3-dotenv
   python3-pyosmium
   python3-psycopg2
   python3-dotenv
@@ -226,7 +228,8 @@ template "#{project_directory}/.env" do
             :dbname => node[:nominatim][:dbname],
             :flatnode_file => node[:nominatim][:flatnode_file],
             :log_file => "#{node[:nominatim][:logdir]}/query.log",
             :dbname => node[:nominatim][:dbname],
             :flatnode_file => node[:nominatim][:flatnode_file],
             :log_file => "#{node[:nominatim][:logdir]}/query.log",
-            :tokenizer => node[:nominatim][:config][:tokenizer]
+            :tokenizer => node[:nominatim][:config][:tokenizer],
+            :forward_dependencies => node[:nominatim][:config][:forward_dependencies]
 end
 
 %w[wikimedia-importance.sql.gz gb_postcodes.csv.gz us_postcodes.csv.gz].each do |fname|
 end
 
 %w[wikimedia-importance.sql.gz gb_postcodes.csv.gz us_postcodes.csv.gz].each do |fname|