aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-15 16:56:14 +0000
committerMichael Scherer <misc@mageia.org>2012-01-15 16:56:14 +0000
commitdcb3248770865aa4d3db4bded50681e2731c354d (patch)
tree8755cf1726c8a5bd375145a39a95a2775035d85e /modules/subversion
parent79f82cf910a0104961309d8c664d4ab5db55b4f3 (diff)
downloadpuppet-dcb3248770865aa4d3db4bded50681e2731c354d.tar
puppet-dcb3248770865aa4d3db4bded50681e2731c354d.tar.gz
puppet-dcb3248770865aa4d3db4bded50681e2731c354d.tar.bz2
puppet-dcb3248770865aa4d3db4bded50681e2731c354d.tar.xz
puppet-dcb3248770865aa4d3db4bded50681e2731c354d.zip
do not use inexistant puppet function from $WORK
Diffstat (limited to 'modules/subversion')
-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,