X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7471caa12144cbc7b41c2056b1aed1f0fbcb6a13..77b59a98a45c63cacee7a0684699b121eaed83dc:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index cd12156d8..448064300 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apache" +include_recipe "apache::ssl" include_recipe "postgresql" include_recipe "git" @@ -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"