diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-01-07 17:43:33 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-01-07 17:43:33 +0000 |
commit | 297d906213901919950052d91375e5de046efed7 (patch) | |
tree | 25bfde86d950f5a81d6903ec12074676f0c89bff /modules/subversion/manifests | |
parent | cadd536bfdce71c1547f87ddd3fdc6deeab6faaa (diff) | |
download | puppet-297d906213901919950052d91375e5de046efed7.tar puppet-297d906213901919950052d91375e5de046efed7.tar.gz puppet-297d906213901919950052d91375e5de046efed7.tar.bz2 puppet-297d906213901919950052d91375e5de046efed7.tar.xz puppet-297d906213901919950052d91375e5de046efed7.zip |
add cia bot svn hook
Diffstat (limited to 'modules/subversion/manifests')
-rw-r--r-- | modules/subversion/manifests/init.pp | 12 |
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, |