X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/33f0874cd63730504cca33b771bc012c70d65689..45987a97b2cb6874f9f8d1772255808af3ffb7fa:/cookbooks/nominatim/recipes/default.rb?ds=inline diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 445ef7b5a..78717add8 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -168,8 +168,10 @@ package %w[ python3-pyosmium pyosmium python3-psycopg2 + python3-dotenv php-pgsql php-intl + php-symfony-dotenv ] source_directory = "#{basedir}/nominatim" @@ -216,17 +218,6 @@ template "#{source_directory}/.git/hooks/post-merge" do :dbname => node[:nominatim][:dbname] end -template "#{build_directory}/settings/local.php" do - source "settings.erb" - owner "nominatim" - group "nominatim" - mode "664" - variables :base_url => node[:nominatim][:state] == "off" ? node[:fqdn] : "nominatim.openstreetmap.org", - :dbname => node[:nominatim][:dbname], - :flatnode_file => node[:nominatim][:flatnode_file], - :log_file => "#{node[:nominatim][:logdir]}/query.log" -end - template "#{build_directory}/.env" do source "nominatim.env.erb" owner "nominatim"