From e394cd4247b09efd0e4a5c07e46b73e46027a86a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 Jan 2013 10:13:39 -0200 Subject: Updating variable scope --- templates/inoticoming.default.erb | 4 ++-- 1 file 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 {} ;" -- cgit v1.2.3