From 8e3d34ba9257369b514b0cac7b2a960e758177bf Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Wed, 16 Oct 2019 12:31:03 +0200 Subject: [PATCH] fix logrotate --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 244f6c0..a9569d4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -169,7 +169,7 @@ logrotate::logs { 'audit': ensure => 'present', - log => [ '/var/log/audit/audit.log' ], + log => [ "${log_dir}/audit.log" ], rotate => $logrotate_rotate, compress => $logrotate_compress, missingok => $logrotate_missingok,