X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d5112ae724a15255983df81f9fda474c05925deb..839ad56c90d3979fffbb9c18d0f2d10eb6f56566:/cookbooks/tilecache/recipes/default.rb diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index c275edb66..728d26f49 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -27,8 +27,10 @@ package "apache2" do action :remove end -package "xz-utils" -package "openssl" +package %w[ + xz-utils + openssl +] # oathtool for QoS token package "oathtool" @@ -116,7 +118,6 @@ ssl_certificate "tile.openstreetmap.org" do "a.tile.openstreetmap.org", "b.tile.openstreetmap.org", "c.tile.openstreetmap.org"] - fallback_certificate "tile.openstreetmap" notifies :restart, "service[nginx]" end @@ -139,3 +140,7 @@ tilerenders.each do |render| conf_variables :host => render[:fqdn] end end + +Dir.glob("/var/log/nginx/access.log*") do |log| + File.unlink(log) +end