puppetlabs/puppetlabs-stdlib — pull request #375 by poikilotherm (2014-12-04 21:35:17+00:00)
Title: Add new functions validate_numeric() and validate_integer().

I saw MODULES-560 on Jira (https://tickets.puppetlabs.com/browse/MODULES-560) and had a need for it (check ports easily in a manifest), so I implemented it.

Added full rspec tests, too.
Added necessary stuff to README.markdown, too.

Would be glad, if this gets merged... :) Thanks!