/[adm]/puppet/modules/buildsystem/templates/repoctl.conf
ViewVC logotype

Annotation of /puppet/modules/buildsystem/templates/repoctl.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3153 - (hide annotations) (download)
Thu May 23 15:06:14 2013 UTC (8 years, 8 months ago) by boklm
File size: 1237 byte(s)
buildsystem/repoctl.conf: remove useless variables
1 boklm 2927 <%-
2     distribdir = scope.lookupvar('buildsystem::var::repository::distribdir')
3 boklm 3151 distros = scope.lookupvar('buildsystem::var::distros::distros')
4     arches = {}
5     distrosections = {}
6     sectionsrepos = {}
7     distros.each{|distroname, distro|
8     distro['medias'].each{|medianame, media|
9     distrosections[medianame] = 1
10     media['repos'].each{|reponame, repo|
11     sectionsrepos[reponame] = 1
12     }
13     }
14     distro['arch'].each{|arch|
15     arches[arch] = 1
16     }
17     }
18 boklm 2927 -%>
19 boklm 2728 dryrun=echo
20     if [ -z $SUDO_USER ]
21     then
22     requestuser="$USER"
23     else
24     requestuser="$SUDO_USER"
25     fi
26     lockdir=/var/lib/repoctl/locks
27     hdlistsdir=/var/lib/repoctl/hdlists
28 boklm 3153 rootdir=<%= scope.lookupvar('buildsystem::var::repository::bootstrap_root') %>
29     finalrootdir=<%= scope.lookupvar('buildsystem::var::repository::mirror_root') %>
30 boklm 2927 distribdir=$rootdir/<%= distribdir %>
31     finaldistribdir=$finalrootdir/<%= distribdir %>
32 boklm 3151 distroreleases='<%= distros.keys.sort.join(' ') -%>'
33     distrosections='<%= distrosections.keys.sort.join(' ') -%>'
34     sectionsrepos='<%= sectionsrepos.keys.sort.join(' ') -%>'
35     arches='<%= arches.keys.sort.join(' ') -%>'
36 boklm 2728 mirror_rsync_options="-v --delete -alH"
37     timestampfile="mageia_timestamp"
38     sha1sumfile="mageia_sha1sum"
39     sha1sumsigfile="mageia_sha1sum.gpg"
40     sign_mirror_sha1sum=/bin/true

  ViewVC Help
Powered by ViewVC 1.1.28