aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion
diff options
context:
space:
mode:
Diffstat (limited to 'modules/subversion')
-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",
}
}