summaryrefslogtreecommitdiff
path: root/puppet/modules/leap/manifests/logfile.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-04-26 22:03:31 +0200
committervarac <varacanero@zeromail.org>2015-04-26 22:42:12 +0200
commitcdf0b448aa4cdac8eb04f05bdeb1d4bf7630938e (patch)
tree38400da8a827a1b91dea3e1a3e35f13fbfcdf50e /puppet/modules/leap/manifests/logfile.pp
parenteaddcfca6761bac329a57a65453958b6741f2420 (diff)
Use rsyslog traditional timestamp format in custom logfiles #6886
Change-Id: I9e033f63e3b387e95f5bf1c3820e456f740d8180
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 {