puppetlabs/puppetlabs-stdlib — pull request #201 by bobtfish (2013-11-19 18:43:53+00:00)
Title: Allow a single argument, rather than an array

There's no benefit (and no test for) ensure_packages('foo') breaking, therefore I have fixed this so you can supply either a single value or an array..