diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-15 16:29:29 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-15 16:29:29 +0000 |
commit | 3915a8a999d1cea48aa61577ea757dbb54559745 (patch) | |
tree | c5e11011975a184fc8a579e3bd7ccc008070d2e2 /modules/subversion | |
parent | 748800009bde2a71d934e65f68699847a5fc8017 (diff) | |
download | puppet-3915a8a999d1cea48aa61577ea757dbb54559745.tar puppet-3915a8a999d1cea48aa61577ea757dbb54559745.tar.gz puppet-3915a8a999d1cea48aa61577ea757dbb54559745.tar.bz2 puppet-3915a8a999d1cea48aa61577ea757dbb54559745.tar.xz puppet-3915a8a999d1cea48aa61577ea757dbb54559745.zip |
oups, fix last commit
Diffstat (limited to 'modules/subversion')
-rw-r--r-- | modules/subversion/manifests/init.pp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index dd00586d..70e4e38b 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -191,7 +191,7 @@ class subversion { } if $restricted_to_user { - subversion::hook::pre_commit("$name|restricted_to_user": + subversion::hook::pre_commit { "$name|restricted_to_user": content => template("subversion/restricted_to_user"), } } else { @@ -201,7 +201,7 @@ class subversion { } if $commit_mail { - subversion::hook::post_commit("$name|send_mail": + subversion::hook::post_commit { "$name|send_mail": content => template("subversion/hook_sendmail.pl"), require => [Package['perl-SVN-Notify-Config']], } @@ -212,7 +212,7 @@ class subversion { } if $cia_post { - subversion::hook::post_commit("$name|cia.vc": + subversion::hook::post_commit { "$name|cia.vc": content => template("subversion/ciabot_svn.sh"), } @@ -231,15 +231,15 @@ class subversion { } if $extract_dir { - subversion::hook::post_commit("$name|extract_dir": + subversion::hook::post_commit {"$name|extract_dir": content => template("subversion/hook_extract.pl"), - require => [Package['perl-SVN-Notify-Mirror']], + require => [Package['perl-SVN-Notify-Mirror']], } } else { file { "$name/hooks/post-commit.d/extract_dir": ensure => absent, - } - } + } + } pre_commit_link { "$name/hooks/pre-commit.d/no_empty_message": } |