Issue #19711 has been updated by Charlie Sharpsteen.
I did some digging after reading through #4884 and it is starting to look like this behavior is undocumented because specifying an exec command using array was never actually implemented---I could not find a released version of Puppet that allows this. The only code I can find that treats `command` as possibly being an array was introduced in commit [9e526c9](https://github.com/puppetlabs/puppet/commit/9e526c9d3b66ed631147081148587fdf44393913). From what I gather after reading the commit message, this particular handling of Arrays was added as a nod to the future when specifying system calls using an array would be possible. To recap that: it appears that #4884 implemented the unfiltered shell method for executing commands, but not the ability to specify commands using arrays. Hence #1630 is still open and using an Array as the command attribute for exec is undocumented because it was never fully implemented. ---------------------------------------- Bug #19711: behavior of exec type when array given as command is undocumented https://projects.puppetlabs.com/issues/19711#change-86985 Author: jared jennings Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 3.1.0 Keywords: Branch: It appears that after #4884, an array passed to the `command` parameter of the `exec` type has a meaning, and that is that it gives an executable and a series of arguments. But there’s still nothing in the documentation for the exec type that says this. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
