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
2015-01-29 22:58:19 +00:00
2015-01-29 10:38:06 -08:00
2015-06-22 14:05:26 -07:00

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', ], }

Description
Puppet module to manage logrotate
Readme 176 KiB
Languages
Puppet 39.7%
Ruby 31.2%
HTML 29.1%