diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-01 19:24:58 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-01 19:24:58 +0000 |
| commit | f80bd5e41623f2bdb8c5495caa12274c36e1cad3 (patch) | |
| tree | 242369b7d2e976b3be8108ba237c36c7631a5558 /lib/puppet | |
| parent | d117aa835fdce43f57c5a24743411da847570532 (diff) | |
Fixing exec so it actually works when path is specified as an array
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2155 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
| -rwxr-xr-x | lib/puppet/type/exec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb index 04ba9fa6c..01870770c 100755 --- a/lib/puppet/type/exec.rb +++ b/lib/puppet/type/exec.rb @@ -179,7 +179,7 @@ module Puppet # Support both arrays and colon-separated fields. def value=(*values) - @value = values.collect { |val| + @value = values.flatten.collect { |val| val.split(":") }.flatten end |
