Join GitHub today
Add logrotate resource to chef-client #7862
Core Chef Resource Checklist
Before suggesting a resource for inclusion please make sure your suggestion meets these criteria for resources built into Chef:
Describe the resource:
This would allow you to configure log rotation on services and apps
Why should this be included out of the box?:
log rotate is a core OS function to make sure services like chef have properly rotated logs. It's something you often want to do and we should make it happen out of the box.
What operating systems would it run on?
Current cookbook implementation: