aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/subversion/manifests/init.pp')
-rw-r--r--modules/subversion/manifests/init.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index 815e5103..f6b5db1c 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -123,6 +123,7 @@ class subversion {
define repository ($group = "svn",
$public = true,
$commit_mail = '',
+ $cia_post = true,
$syntax_check = '',
$extract_dir = '') {
# check permissions
@@ -177,6 +178,17 @@ class subversion {
}
}
+ if $cia_post {
+ file { "$name/hooks/post-commit.d/cia.vc":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ content => template("subversion/ciabot_svn.py"),
+ }
+
+ }
+
if $extract_dir {
file { "$name/hooks/post-commit.d/extract_dir":
ensure => present,