aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:14 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:14 +0000
commite314b28d057ad4ac91cfa2c08d59100d77907e0a (patch)
tree174e10269e4751f7f55c1bc7d99b56d40ceab907 /modules/buildsystem/templates
parent659a15f30ce560654dd28feefa709cf326692598 (diff)
downloadpuppet-e314b28d057ad4ac91cfa2c08d59100d77907e0a.tar
puppet-e314b28d057ad4ac91cfa2c08d59100d77907e0a.tar.gz
puppet-e314b28d057ad4ac91cfa2c08d59100d77907e0a.tar.bz2
puppet-e314b28d057ad4ac91cfa2c08d59100d77907e0a.tar.xz
puppet-e314b28d057ad4ac91cfa2c08d59100d77907e0a.zip
buildsystem/repoctl.conf: remove useless variables
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/repoctl.conf6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/buildsystem/templates/repoctl.conf b/modules/buildsystem/templates/repoctl.conf
index 9bd60836..14506a25 100644
--- a/modules/buildsystem/templates/repoctl.conf
+++ b/modules/buildsystem/templates/repoctl.conf
@@ -1,6 +1,4 @@
<%-
-bootstrap_root = scope.lookupvar('buildsystem::var::repository::bootstrap_root')
-mirror_root = scope.lookupvar('buildsystem::var::repository::mirror_root')
distribdir = scope.lookupvar('buildsystem::var::repository::distribdir')
distros = scope.lookupvar('buildsystem::var::distros::distros')
arches = {}
@@ -27,8 +25,8 @@ else
fi
lockdir=/var/lib/repoctl/locks
hdlistsdir=/var/lib/repoctl/hdlists
-rootdir=<%= bootstrap_root %>
-finalrootdir=<%= mirror_root %>
+rootdir=<%= scope.lookupvar('buildsystem::var::repository::bootstrap_root') %>
+finalrootdir=<%= scope.lookupvar('buildsystem::var::repository::mirror_root') %>
distribdir=$rootdir/<%= distribdir %>
finaldistribdir=$finalrootdir/<%= distribdir %>
distroreleases='<%= distros.keys.sort.join(' ') -%>'