The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #12564

The execution helper method `execpipe` has a different API to `execute`

Added by Anonymous about 4 years ago. Updated almost 3 years ago.

Status:ClosedStart date:02/10/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Doh!
Target version:2.7.12
Affected Puppet version: Branch:https://github.com/puppetlabs/puppet/pull/452
Keywords: customer

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


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

Related to Puppet - Bug #17603: Puppet execute has unexpected semantics Accepted
Blocks Puppet - Bug #8435: openbsd package provider is broken while installing from ... Closed 07/15/2011

History

#1 Updated by Anonymous about 4 years 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.

#2 Updated by Anonymous about 4 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release
  • Target version changed from 2.7.x to 2.7.12

#3 Updated by Matthaus Owens about 4 years ago

  • Status changed from Merged - Pending Release to Closed

Released in 2.7.12rc1

#4 Updated by Charlie Sharpsteen about 3 years ago

  • Keywords set to customer

#6 Updated by Anonymous almost 3 years ago

  • Assignee deleted (Anonymous)

Also available in: Atom PDF