aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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",
}
}