diff options
Diffstat (limited to 'manifests/logrotate/centos/vhosts.pp')
-rw-r--r-- | manifests/logrotate/centos/vhosts.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/logrotate/centos/vhosts.pp b/manifests/logrotate/centos/vhosts.pp index 941f50d..1cde2f3 100644 --- a/manifests/logrotate/centos/vhosts.pp +++ b/manifests/logrotate/centos/vhosts.pp @@ -6,5 +6,6 @@ class apache::logrotate::centos::vhosts inherits apache::logrotate::centos { 'ins file before /files/etc/logrotate.d/httpd/rule/*[1]', 'set /files/etc/logrotate.d/httpd/rule/file[1] /var/log/httpd/*log', 'set /files/etc/logrotate.d/httpd/rule/file[2] /var/www/vhosts/*/logs/*log' ], + onlyif => 'get /files/etc/logrotate.d/httpd/rule/file[2] != "/var/www/vhosts/*/logs/*log"', } } |