diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 10:41:44 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 10:41:44 -0200 |
commit | 4d3d3fa49a7673c3202316c48fe55bf27ee83fa0 (patch) | |
tree | 3bd5c896ac0c43562b09ab1910a3c65fc085f1d6 | |
parent | b724f70d0f92e537fe31aad4935912d30f47ab76 (diff) | |
download | puppet-reprepro-4d3d3fa49a7673c3202316c48fe55bf27ee83fa0.tar.gz puppet-reprepro-4d3d3fa49a7673c3202316c48fe55bf27ee83fa0.tar.bz2 |
Updating variable scope (2)
-rw-r--r-- | manifests/cron.pp | 4 |
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"] ] } } |