From dcb3248770865aa4d3db4bded50681e2731c354d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 15 Jan 2012 16:56:14 +0000 Subject: do not use inexistant puppet function from $WORK --- modules/subversion/manifests/hook.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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, -- cgit v1.2.1