Bug #12564
The execution helper method `execpipe` has a different API to `execute`
| Status: | Closed | Start date: | 02/10/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Doh! | |||
| Target version: | 2.7.12 | |||
| Affected Puppet version: | Branch: | https://github.com/puppetlabs/puppet/pull/452 | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Execute joins an array with spaces, before treating the string as a command to execute. Unsafe, but at least not stupid. execpipe, on the other hand, just pastes all the elements of the array together directly. Which means the caller has to (a) know this, (b) embed whitespace some-but-not-all the time, and © wonder why.
Related issues
History
Updated by Daniel Pittman 3 months ago
- Status changed from Accepted to In Topic Branch Pending Review
- Branch set to https://github.com/puppetlabs/puppet/pull/452
https://github.com/puppetlabs/puppet/pull/452 fixes this, in the same line that found it.
Updated by Daniel Pittman 3 months ago
- Status changed from In Topic Branch Pending Review to Merged - Pending Release
- Target version changed from 2.7.x to 2.7.12
Updated by Matthaus Litteken 3 months ago
- Status changed from Merged - Pending Release to Closed
Released in 2.7.12rc1