summaryrefslogtreecommitdiff
path: root/puppet/modules/leap/manifests/logfile.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/leap/manifests/logfile.pp')
-rw-r--r--puppet/modules/leap/manifests/logfile.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/puppet/modules/leap/manifests/logfile.pp b/puppet/modules/leap/manifests/logfile.pp
index c5c185f6..63dbd16b 100644
--- a/puppet/modules/leap/manifests/logfile.pp
+++ b/puppet/modules/leap/manifests/logfile.pp
@@ -6,8 +6,7 @@ define leap::logfile($process=$name) {
$logfile = "/var/log/leap/${name}.log"
rsyslog::snippet { "50-${name}":
- content => "if \$programname startswith '${process}' then ${logfile}
-&~"
+ content => template('leap/rsyslog.erb')
}
augeas {