Puppet module to manage logrotate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

init.pp 305B

12345678910111213141516
  1. # Adapted from http://projects.puppetlabs.com/projects/1/wiki/Logrotate_Patterns
  2. class logrotate {
  3. package { "logrotate":
  4. ensure => latest,
  5. }
  6. file { "/etc/logrotate.d":
  7. ensure => directory,
  8. owner => root,
  9. group => root,
  10. mode => 755,
  11. require => Package["logrotate"],
  12. }
  13. }