I'm working on a puppet module that automatically places the entire catalog into zenoss (this is based on an outdated module that I found on github)
By default, I want to place every server in zenoss. I have a base class which is included in every node. I want to add 'include zenoss::client' in that class. node "server.jeff.com" { include base # this includes zenoss::client } Now I'd like to be able to override that at the node level. Unfortunately, I can't think of a slick way to do that without using a global. Something like: node "server.jeff.com" { $zensure = "absent" # then I can use this global in base to switch ensure to absent include base # this includes zenoss::client } I'm sure there's a better way to do this. Any thoughts? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f42ed9a7-d1e2-4313-95fc-2d74afade11e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.