aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/subversion/manifests/hook.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/subversion/manifests/hook.pp b/modules/subversion/manifests/hook.pp
index e73688bb..8c94f5ad 100644
--- a/modules/subversion/manifests/hook.pp
+++ b/modules/subversion/manifests/hook.pp
@@ -15,8 +15,8 @@ class subversion {
define commit_hook($content, $type) {
$array = split($name,'\|')
- $repos = shift($array)
- $script = shift($array)
+ $repos = $array[0]
+ $script = $array[1]
file { "$repo/hook/$type.d/$script":
content => $content,
mode => 755,