From 4d3d3fa49a7673c3202316c48fe55bf27ee83fa0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 Jan 2013 10:41:44 -0200 Subject: Updating variable scope (2) --- manifests/cron.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/cron.pp b/manifests/cron.pp index afaaa90..4cc7dd8 100644 --- a/manifests/cron.pp +++ b/manifests/cron.pp @@ -1,8 +1,8 @@ class reprepro::cron { cron { reprepro: - command => "/usr/bin/reprepro --silent -b $basedir processincoming incoming", + command => "/usr/bin/reprepro --silent -b ${reprepro::basedir} processincoming incoming", user => reprepro, minute => '*/5', - require => [ Package['reprepro'], File["$basedir/conf/distributions"] ] + require => [ Package['reprepro'], File["${reprepro::basedir}/conf/distributions"] ] } } -- cgit v1.2.3