aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-01-17 17:12:42 +0000
committerMichael Scherer <misc@mageia.org>2011-01-17 17:12:42 +0000
commitbc0942311d6c5589521c41515b3a476df36a261d (patch)
tree1e73d1211b32bc45fae5bd870e9dfaeb07de7046 /modules/subversion
parent3a5183a2f2a583c7982215e60a6779ef72e72f35 (diff)
downloadpuppet-bc0942311d6c5589521c41515b3a476df36a261d.tar
puppet-bc0942311d6c5589521c41515b3a476df36a261d.tar.gz
puppet-bc0942311d6c5589521c41515b3a476df36a261d.tar.bz2
puppet-bc0942311d6c5589521c41515b3a476df36a261d.tar.xz
puppet-bc0942311d6c5589521c41515b3a476df36a261d.zip
- enable to change log message on subversion on every repository
( should also requires a post-commit hook to send mail )
Diffstat (limited to 'modules/subversion')
-rw-r--r--modules/subversion/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index b5131cb5..be2fb8c2 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -187,6 +187,13 @@ class subversion {
require => File["$name/hooks/pre-commit"],
}
+ file { "$name/hooks/pre-revprop-change":
+ ensure => "$local_dir/pre-revprop-change"
+ owner => root,
+ group => root,
+ mode => 755,
+ }
+
if $commit_mail {
file { "$name/hooks/post-commit.d/send_mail":
ensure => present,