If what you're trying to do is have conditional lo...
# puppet
a
If what you're trying to do is have conditional logic based on a
monitoring
value in hiera across multiple classes/modules, then the simplest thing to do is have any class that needs this to do something like
Copy code
if lookup('monitoring') {
  ...
}
Not sure what adding one layer of abstraction adds to this.