diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:05:31 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:05:31 +0000 |
commit | 0a6dbab426b5a58db0044ce952c1362d8c781dfb (patch) | |
tree | b57628ce8541a66d8de267b51250e3e24979853e /modules/buildsystem/manifests | |
parent | 98fa28e23cbd8ac75e428b1bee6b89cdbbe0d5bf (diff) | |
download | puppet-0a6dbab426b5a58db0044ce952c1362d8c781dfb.tar puppet-0a6dbab426b5a58db0044ce952c1362d8c781dfb.tar.gz puppet-0a6dbab426b5a58db0044ce952c1362d8c781dfb.tar.bz2 puppet-0a6dbab426b5a58db0044ce952c1362d8c781dfb.tar.xz puppet-0a6dbab426b5a58db0044ce952c1362d8c781dfb.zip |
Add buildsystem::var::mgarepo.
The mgarepo.conf template is now using settings from
buildsystem::var::mgarepo.
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r-- | modules/buildsystem/manifests/var/distros.pp | 3 | ||||
-rw-r--r-- | modules/buildsystem/manifests/var/mgarepo.pp | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/distros.pp b/modules/buildsystem/manifests/var/distros.pp index a0c8aafd..30d51f3d 100644 --- a/modules/buildsystem/manifests/var/distros.pp +++ b/modules/buildsystem/manifests/var/distros.pp @@ -1,3 +1,5 @@ +# $default_distro: +# the name of the default distribution # $distros: # a hash variable containing distributions informations indexed by # distribution name. Each distribution is itself an hash containing @@ -33,5 +35,6 @@ # }, # } class buildsystem::var::distros( + $default_distro, $distros ) { } diff --git a/modules/buildsystem/manifests/var/mgarepo.pp b/modules/buildsystem/manifests/var/mgarepo.pp new file mode 100644 index 00000000..52f9d9cc --- /dev/null +++ b/modules/buildsystem/manifests/var/mgarepo.pp @@ -0,0 +1,19 @@ +# $submit_host: +# hostname used to submit packages +# $svn_hostname: +# hostname of the svn server used for packages +# $svn_root_packages: +# svn root url of the svn repository for packages +# $oldurl: +# svn url where the import logs of the rpm are stored +# $conf: +# $conf{'global'} is a has table of values used in mgarepo.conf in +# the [global] section +class buildsystem::var::mgarepo( + $submit_host, + $svn_hostname, + $svn_root_packages, + $oldurl, + $conf +) { +} |