X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/392a811897ecd812f92b66b497a19bdc9d232984..004a54d139d1273876315e0b95943a973106c582:/cookbooks/taginfo/recipes/default.rb diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index e0b6d34c2..a0a409196 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -63,11 +63,8 @@ directory "/var/log/taginfo" do mode 0755 end -template "/etc/logrotate.d/taginfo" do - source "logrotate.erb" - owner "root" - group "root" - mode 0644 +file "/etc/logrotate.d/taginfo" do + action :delete end node[:taginfo][:sites].each do |site| @@ -234,7 +231,7 @@ node[:taginfo][:sites].each do |site| owner "taginfo" group "taginfo" mode 0755 - variables :directory => directory + variables :name => name, :directory => directory end apache_site name do