Add utility type for puppetdb whitelisting

This is something that should be available as a type in the puppetdb
module. Stubbing here until that becomes reality.