add contains function for puppet 3.4.x
Merge pull request #36 from jonmosco/contains_function

add contains function for puppet 3.4.x