From 79f82cf910a0104961309d8c664d4ab5db55b4f3 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 15 Jan 2012 16:42:17 +0000 Subject: fix subversion::hook --- modules/subversion/manifests/hook.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/subversion') 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", } } -- cgit v1.2.1