aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var/binrepo.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-22 22:16:58 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-22 22:16:58 +0000
commit77a70999df1bd4e67aadb02bd673449beae124b8 (patch)
treecf0fae1fc952ec3e2958e32c7441655f02848c17 /modules/buildsystem/manifests/var/binrepo.pp
parent9d7449fb7975570ab39f1ed64615188cbc8a4226 (diff)
downloadpuppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar
puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar.gz
puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar.bz2
puppet-77a70999df1bd4e67aadb02bd673449beae124b8.tar.xz
puppet-77a70999df1bd4e67aadb02bd673449beae124b8.zip
buildsystem: move binrepo config to buildsystem::var::binrepo
Diffstat (limited to 'modules/buildsystem/manifests/var/binrepo.pp')
-rw-r--r--modules/buildsystem/manifests/var/binrepo.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/binrepo.pp b/modules/buildsystem/manifests/var/binrepo.pp
new file mode 100644
index 00000000..d734c216
--- /dev/null
+++ b/modules/buildsystem/manifests/var/binrepo.pp
@@ -0,0 +1,14 @@
+# $uploadmail_from:
+# from who will be sent the binrepo upload email notifications
+# $uploadmail_to:
+# where binrepo email notifications are sent
+class buildsystem::var::binrepo(
+ $login = 'binrepo',
+ $homedir = '/var/lib/binrepo',
+ $uploadmail_from,
+ $uploadmail_to
+) {
+ $repodir = "$homedir/data"
+ $uploadinfosdir = "$homedir/infos"
+ $uploadbinpath = '/usr/local/bin/upload-bin'
+}