aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-15 16:42:17 +0000
committerMichael Scherer <misc@mageia.org>2012-01-15 16:42:17 +0000
commit79f82cf910a0104961309d8c664d4ab5db55b4f3 (patch)
tree965606b2b374cd0a8acb6ea23a0d52956e367d36 /modules/subversion/manifests
parent3915a8a999d1cea48aa61577ea757dbb54559745 (diff)
downloadpuppet-79f82cf910a0104961309d8c664d4ab5db55b4f3.tar
puppet-79f82cf910a0104961309d8c664d4ab5db55b4f3.tar.gz
puppet-79f82cf910a0104961309d8c664d4ab5db55b4f3.tar.bz2
puppet-79f82cf910a0104961309d8c664d4ab5db55b4f3.tar.xz
puppet-79f82cf910a0104961309d8c664d4ab5db55b4f3.zip
fix subversion::hook
Diffstat (limited to 'modules/subversion/manifests')
-rw-r--r--modules/subversion/manifests/hook.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/subversion/manifests/hook.pp b/modules/subversion/manifests/hook.pp
index c17b4a4c..e73688bb 100644
--- a/modules/subversion/manifests/hook.pp
+++ b/modules/subversion/manifests/hook.pp
@@ -3,13 +3,13 @@ class subversion {
define post_commit($content) {
commit_hook { $name:
content => $content,
- type => "postcommit",
+ type => "post-commit",
}
}
- define post_commit($content) {
+ define pre_commit($content) {
commit_hook { $name:
content => $content,
- type => "postcommit",
+ type => "pre-commit",
}
}