3b47507e28
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
18 lines
345 B
Puppet
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'],
|
|
}
|
|
}
|