puppetlabs/puppet — pull request #1525 by Sharpie (2013-03-13 20:27:15+00:00)
Title: (#19713) Validate exec commands to be type String

The `exec` type calls a pile of string-specific methods, such as `scan` and
`split`, on the value of `command`. Validate that `command` is of type `String`
so that Puppet can fail with a helpful message if the value was passed as a
type such as `Array`.

![Exec can't handle arrays](http://i.imgur.com/T1srruW.jpg)