]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
Remove role for falkor
[chef.git] / cookbooks / nominatim / recipes / default.rb
index 42989db718d1bf4dc33ea7ec2c22ff38c5d8d9a8..a26f1862b3d9dc219394d79dd364143234ed42c0 100644 (file)
@@ -170,6 +170,7 @@ package %w[
   python3-psycopg2
   php-pgsql
   php-intl
+  php-symfony-dotenv
 ]
 
 source_directory = "#{basedir}/nominatim"
@@ -216,8 +217,8 @@ template "#{source_directory}/.git/hooks/post-merge" do
             :dbname => node[:nominatim][:dbname]
 end
 
-template "#{build_directory}/settings/local.php" do
-  source "settings.erb"
+template "#{build_directory}/.env" do
+  source "nominatim.env.erb"
   owner "nominatim"
   group "nominatim"
   mode "664"
@@ -380,7 +381,7 @@ end
 end
 
 node[:nominatim][:fpm_pools].each do |name, data|
-  php_fpm name.to_s do
+  php_fpm name do
     port data[:port]
     pm data[:pm]
     pm_max_children data[:max_children]