Ask Your Question

Revision history [back]

There is an "in" operator in the Puppet DSL so you can check for set membership, if that helps:

You might also want to code up a custom fact that performs these checks in Ruby code and then simply returns a true/false value that you use in your manifests.