Remove old and unused chef-server logrotate config
authorTom Hughes <tom@compton.nu>
Wed, 24 Aug 2016 18:38:10 +0000 (19:38 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 24 Aug 2016 18:38:10 +0000 (19:38 +0100)
cookbooks/chef/recipes/server.rb
cookbooks/chef/templates/default/logrotate.server.erb [deleted file]

index 7a5f8fa..c34efed 100644 (file)
@@ -89,11 +89,4 @@ template "/etc/cron.daily/chef-server-backup" do
   mode 0o755
 end
 
-template "/etc/logrotate.d/chef-server" do
-  source "logrotate.server.erb"
-  owner "root"
-  group "root"
-  mode 0o644
-end
-
 munin_plugin "chef_status"
diff --git a/cookbooks/chef/templates/default/logrotate.server.erb b/cookbooks/chef/templates/default/logrotate.server.erb
deleted file mode 100644 (file)
index d075725..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# DO NOT EDIT - This file is being maintained by Chef
-
-/var/log/chef-server/nginx/access.log
-/var/log/chef-server/nginx/error.log
-/var/log/chef-server/nginx/rewrite-port-80.log {
-  rotate 12
-  weekly
-  compress
-  postrotate
-        chef-server-ctl hup
-  endscript
-}