summaryrefslogtreecommitdiff
path: root/manifests/logrotate/centos.pp
blob: 6571adad9f5aa5d86f940be3e0058e27c54e409c (plain)
1
2
3
4
5
6
7
8
class apache::logrotate::centos {
    # add vhost folders to logrotation
    augeas{'logrotate_httpd':
      changes => [ 'rm /files/etc/logrotate.d/httpd/rule/file',
        'ins file before /files/etc/logrotate.d/httpd/rule/*[1]',
        'set /files/etc/logrotate.d/httpd/rule/file[1] /var/log/httpd/*log' ],
    }
}