puppetlabs/puppet — pull request #1105 by zaphod42 (2012-09-05 18:03:14+00:00)
Title: (#15756) Do not allow functions called without Array

Proper calling of functions from templates, and anywhere else in ruby code
that calls puppet functions, requires that the function's arguments are
passed as an Array. Previously this was never enforce and some functions
would end up working when not called with an Array and other functions
would fail.

This adds a type check to ensure that functions must always be called
consistently.