]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
nominatim: add hook for more generic blocks
[chef.git] / cookbooks / nominatim / recipes / default.rb
index 75a8938418dfe100ab6a834f911517d330480ea4..fd7f495734f6d5ba9960f2baa6d994e7b9adb791 100644 (file)
@@ -239,7 +239,7 @@ template "#{ui_directory}/dist/config.js" do
   source "ui-config.js.erb"
   owner "nominatim"
   group "nominatim"
-  mode 0o664
+  mode "664"
 end
 
 if node[:nominatim][:flatnode_file]
@@ -370,7 +370,7 @@ directory "#{basedir}/etc" do
   mode "775"
 end
 
-%w[user_agent referrer email].each do |name|
+%w[user_agent referrer email generic].each do |name|
   file "#{basedir}/etc/nginx_blocked_#{name}.conf" do
     action :create_if_missing
     owner "nominatim"