aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/manifests
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-07 09:18:33 +0000
committerColin Guthrie <colin@mageia.org>2013-10-07 09:18:33 +0000
commit10addd5ca6995220ea3a6a00fb5af3cff1f66449 (patch)
treef8e3a916e3df04b81cf71a0dab9dcc39d55ab102 /deployment/mgagit/manifests
parentac1da3a9e748f0df9b67aca2781e86e1e7ed665e (diff)
downloadpuppet-10addd5ca6995220ea3a6a00fb5af3cff1f66449.tar
puppet-10addd5ca6995220ea3a6a00fb5af3cff1f66449.tar.gz
puppet-10addd5ca6995220ea3a6a00fb5af3cff1f66449.tar.bz2
puppet-10addd5ca6995220ea3a6a00fb5af3cff1f66449.tar.xz
puppet-10addd5ca6995220ea3a6a00fb5af3cff1f66449.zip
mgagit: Convert to git multimail for notifications.
This system sends one mail per commit pushed, all threaded (i.e. as replies) to a summary email of the push itself. Upstream URL for git multimail is: https://github.com/mhagger/git-multimail
Diffstat (limited to 'deployment/mgagit/manifests')
-rw-r--r--deployment/mgagit/manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp
index b88efbbe..3ca7225f 100644
--- a/deployment/mgagit/manifests/init.pp
+++ b/deployment/mgagit/manifests/init.pp
@@ -45,6 +45,14 @@ class mgagit(
content => template('mgagit/format-commit-email.sh'),
}
+ mga_common::local_script { 'git_multimail.py':
+ content => template('mgagit/git_multimail.py'),
+ }
+
+ mga_common::local_script { 'mgagit-post-receive-hook':
+ content => template('mgagit/git-post-receive-hook'),
+ }
+
file { $gitolite_tmpldir:
ensure => directory,
owner => root,