diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-15 16:56:14 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-15 16:56:14 +0000 |
commit | dcb3248770865aa4d3db4bded50681e2731c354d (patch) | |
tree | 8755cf1726c8a5bd375145a39a95a2775035d85e /modules/subversion/manifests | |
parent | 79f82cf910a0104961309d8c664d4ab5db55b4f3 (diff) | |
download | puppet-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/manifests')
-rw-r--r-- | modules/subversion/manifests/hook.pp | 4 |
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, |