Re: [Puppet Users] Implementing hooks

2012-04-12 Thread Gabriel Filion
On 12-04-12 04:18 AM, Luke Bigum wrote: > Could you get by with a wrapper? Say, a 'my_nagios' define that does > it's own thing, then uses the third party 'nagios' definition? > > You could add your own resources in your my_nagios that 'Subscribes' to > resources in the 'nagios' define to insert y

Re: [Puppet Users] Implementing hooks

2012-04-12 Thread Gabriel Filion
On 12-04-12 04:18 AM, Luke Bigum wrote: > Could you get by with a wrapper? Say, a 'my_nagios' define that does > it's own thing, then uses the third party 'nagios' definition? > > You could add your own resources in your my_nagios that 'Subscribes' to > resources in the 'nagios' define to insert y

Re: [Puppet Users] Implementing hooks

2012-04-12 Thread Luke Bigum
Gabriel, Could you get by with a wrapper? Say, a 'my_nagios' define that does it's own thing, then uses the third party 'nagios' definition? You could add your own resources in your my_nagios that 'Subscribes' to resources in the 'nagios' define to insert your own resources into the dependen

[Puppet Users] Implementing hooks

2012-04-11 Thread Gabriel Filion
I'm currently using a "nagios" module that's developed by an opensource community, and I'd like to hook some logic into a define to implement some kind of notion that's really specific to the place I work. For now, I've been obligated to keep a modified version of the module, but that means I alwa