python3-psycopg2
php-pgsql
php-intl
+ php-symfony-dotenv
]
source_directory = "#{basedir}/nominatim"
:log_file => "#{node[:nominatim][:logdir]}/query.log"
end
+template "#{build_directory}/.env" do
+ source "nominatim.env.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
+
git ui_directory do
action :sync
repository node[:nominatim][:ui_repository]