diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-11 12:02:26 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-11 12:02:26 +0000 |
commit | c5853d4791fea6f783b3b5cf9d2b6ff0285df8fa (patch) | |
tree | 2ecfa4795c7d8261fb0dcccc09516d10d0d96e52 | |
parent | a85a5db5a863b797c08014c3fb6895d2767bbbcc (diff) | |
download | puppet-c5853d4791fea6f783b3b5cf9d2b6ff0285df8fa.tar puppet-c5853d4791fea6f783b3b5cf9d2b6ff0285df8fa.tar.gz puppet-c5853d4791fea6f783b3b5cf9d2b6ff0285df8fa.tar.bz2 puppet-c5853d4791fea6f783b3b5cf9d2b6ff0285df8fa.tar.xz puppet-c5853d4791fea6f783b3b5cf9d2b6ff0285df8fa.zip |
repoctl.conf: use var::repository variables
-rw-r--r-- | modules/buildsystem/templates/repoctl.conf | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/buildsystem/templates/repoctl.conf b/modules/buildsystem/templates/repoctl.conf index a538fcde..e72d4c4e 100644 --- a/modules/buildsystem/templates/repoctl.conf +++ b/modules/buildsystem/templates/repoctl.conf @@ -1,3 +1,8 @@ +<%- +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') +-%> dryrun=echo if [ -z $SUDO_USER ] then @@ -7,10 +12,10 @@ else fi lockdir=/var/lib/repoctl/locks hdlistsdir=/var/lib/repoctl/hdlists -rootdir=/distrib/bootstrap -finalrootdir=/distrib/mirror -distribdir=$rootdir/distrib -finaldistribdir=$finalrootdir/distrib +rootdir=<%= bootstrap_root %> +finalrootdir=<%= mirror_root %> +distribdir=$rootdir/<%= distribdir %> +finaldistribdir=$finalrootdir/<%= distribdir %> distroreleases='<%= distroreleases.flatten.join(' ') -%>' distrosections='<%= distrosections.flatten.join(' ') -%>' sectionsrepos='<%= sectionsrepos.flatten.join(' ') -%>' |