summaryrefslogtreecommitdiff
path: root/puppet/modules/leap
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/leap')
-rw-r--r--puppet/modules/leap/manifests/logfile.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/leap/manifests/logfile.pp b/puppet/modules/leap/manifests/logfile.pp
index 4deafacb..c5c185f6 100644
--- a/puppet/modules/leap/manifests/logfile.pp
+++ b/puppet/modules/leap/manifests/logfile.pp
@@ -2,8 +2,8 @@
# make syslog log to a particular file for a particular process.
#
-define leap::logfile($process=$title) {
- $logfile = "/var/log/leap/${title}.log"
+define leap::logfile($process=$name) {
+ $logfile = "/var/log/leap/${name}.log"
rsyslog::snippet { "50-${name}":
content => "if \$programname startswith '${process}' then ${logfile}