]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/logrotate.erb
Add a bunch more cookbooks
[chef.git] / cookbooks / chef / templates / default / logrotate.erb
diff --git a/cookbooks/chef/templates/default/logrotate.erb b/cookbooks/chef/templates/default/logrotate.erb
new file mode 100644 (file)
index 0000000..0257a83
--- /dev/null
@@ -0,0 +1,10 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+/var/log/chef/client.log {
+  rotate 12
+  weekly
+  compress
+  postrotate
+       restart chef-client > /dev/null
+  endscript
+}