puppet-logrotate/README.md
Spencer Krum df4961a081 Make logrotate::file more resilient
Validate that the first option is a string.
Mutate the path to remove /'s, allowing full paths to be passed.

Change-Id: I341290c430023e5e9a24bf2247482ed818ea4a26
2015-06-22 14:05:26 -07:00

363 B

OpenStack Logrotate Module

This module installs and configures Logrotate

Rotate logfiles using the logrotate::file defined type:

include logrotate logrotate::file { 'manage_projects.log': log => '/var/log/manage_projects.log', options => [ 'compress', 'missingok', 'rotate 30', 'daily', 'notifempty', 'copytruncate', ], }