summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-26 10:41:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-26 10:41:44 -0200
commit4d3d3fa49a7673c3202316c48fe55bf27ee83fa0 (patch)
tree3bd5c896ac0c43562b09ab1910a3c65fc085f1d6 /manifests
parentb724f70d0f92e537fe31aad4935912d30f47ab76 (diff)
downloadpuppet-reprepro-4d3d3fa49a7673c3202316c48fe55bf27ee83fa0.tar.gz
puppet-reprepro-4d3d3fa49a7673c3202316c48fe55bf27ee83fa0.tar.bz2
Updating variable scope (2)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/cron.pp4
1 files 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"] ]
}
}