puppet-logrotate/manifests/init.pp
Matthew Wagoner 3b47507e28 Clean up of minor puppet-lint warnings.
Mostly documentation and parameterised class parameter complaints.

Change-Id: I5b3ffa4ad3f707f385165c2d86c891c6bd4c1ae0
Reviewed-on: https://review.openstack.org/16901
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-11-26 20:55:57 +00:00

18 lines
345 B
Puppet

# == Class: logrotate
#
# Adapted from http://projects.puppetlabs.com/projects/1/wiki/Logrotate_Patterns
#
class logrotate {
package { 'logrotate':
ensure => present,
}
file { '/etc/logrotate.d':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
require => Package['logrotate'],
}
}