aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:25 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:06:25 +0000
commit14f898ccf52e939055124855d465b11ca502b33b (patch)
treefc9c3163ec94f1bfa466df608d5247cb04250a67 /modules/buildsystem/manifests/var
parent3c7f02d481edc662ee490525cff939074ff36b38 (diff)
downloadpuppet-14f898ccf52e939055124855d465b11ca502b33b.tar
puppet-14f898ccf52e939055124855d465b11ca502b33b.tar.gz
puppet-14f898ccf52e939055124855d465b11ca502b33b.tar.bz2
puppet-14f898ccf52e939055124855d465b11ca502b33b.tar.xz
puppet-14f898ccf52e939055124855d465b11ca502b33b.zip
buildsystem::var::scheduler: add admin_mail parameter
The admin_mail parameter is used to select the email address sending the build failure notifications.
Diffstat (limited to 'modules/buildsystem/manifests/var')
-rw-r--r--modules/buildsystem/manifests/var/scheduler.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/var/scheduler.pp b/modules/buildsystem/manifests/var/scheduler.pp
index 47933b0b..a6b9ef4f 100644
--- a/modules/buildsystem/manifests/var/scheduler.pp
+++ b/modules/buildsystem/manifests/var/scheduler.pp
@@ -1,4 +1,9 @@
-class buildsystem::var::scheduler {
+# $admin_mail:
+# the email address from which the build failure notifications
+# will be sent
+class buildsystem::var::scheduler(
+ $admin_mail = "root@${::domain}"
+){
$login = 'schedbot'
$homedir = "/var/lib/$login"
$logdir = "/var/log/$login"