X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7471caa12144cbc7b41c2056b1aed1f0fbcb6a13..3bc1f53eb929edcb3d93521d199e665d542de791:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index cd12156d8..6f3394403 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -54,7 +54,7 @@ node[:nominatim][:fpm_pools].each do |name,data| group "root" mode 0644 variables data.merge(:name => name) - notifies :reload, resources(:service => "php5-fpm") + notifies :reload, "service[php5-fpm]" end end @@ -93,6 +93,14 @@ directory "/var/log/nominatim" do mode 0755 end +template "/etc/logrotate.d/nominatim" do + source "logrotate.nominatim.erb" + owner "root" + group "root" + mode 0644 +end + + package "osmosis" package "gcc" package "proj-bin"