summaryrefslogtreecommitdiff
path: root/templates/inoticoming.default.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-26 10:13:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-26 10:13:39 -0200
commite394cd4247b09efd0e4a5c07e46b73e46027a86a (patch)
treebe79760f87727213939e7d93ba716bb2b2c2ca8f /templates/inoticoming.default.erb
parent1d2ab744195e749ee2d032f46da3deae90dd4c99 (diff)
downloadpuppet-reprepro-e394cd4247b09efd0e4a5c07e46b73e46027a86a.tar.gz
puppet-reprepro-e394cd4247b09efd0e4a5c07e46b73e46027a86a.tar.bz2
Updating variable scope
Diffstat (limited to 'templates/inoticoming.default.erb')
-rw-r--r--templates/inoticoming.default.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/inoticoming.default.erb b/templates/inoticoming.default.erb
index b666851..3be2da4 100644
--- a/templates/inoticoming.default.erb
+++ b/templates/inoticoming.default.erb
@@ -14,9 +14,9 @@ LOGFILE="/var/log/incoming.log"
INITIALSEARCH=0
# directory to monitor
-DIR=<%= basedir %>/incoming
+DIR=<%= scope.lookupvar('reprepro::basedir') %>/incoming
# actions
-BASEDIR=<%= basedir %>
+BASEDIR=<%= scope.lookupvar('reprepro::basedir') %>
RULENAME=incoming
ACTIONS="--suffix .changes --stderr-to-log reprepro -s -b $BASEDIR --waitforlock 1000 processincoming $RULENAME {} ;"