puppetlabs/puppetlabs-stdlib — pull request #137 by hakamadare (2013-03-22 14:57:33+00:00)
Title: (19864) Enable num2bool to accept numeric input

Since the function tries to match the argument against a regex, first
coerce the argument to a string so that the match can happen. Also
include some additional unit tests.