summaryrefslogtreecommitdiff
path: root/puppet/modules/leap
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-04-17 10:19:37 -0700
committerelijah <elijah@riseup.net>2015-04-17 10:19:37 -0700
commit64cc83793aa35b84b60dd40305c7edf8369a187b (patch)
tree666ac2753ceca7c01832756fd9c7065ea23718bc /puppet/modules/leap
parente97a00725c80a4067d5bba24d931b1a3bcf2ad96 (diff)
rename leap-mx logrotate file; minor style change.
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}