Re: [Puppet Users] Re: Overriding variables.

2012-09-26 Thread Lorenzo Salvadorini
I've solved the identical problem using defines instead of classes. I know that hiera can be a better solution, but I'm waiting for next major release to adopt hiera. I've a generic nrpe::check define: each check is a define that use this generic definition, so my check_load.pp in nrpe module is

[Puppet Users] Re: Overriding variables.

2012-09-25 Thread George Shammas
Hi John, Thanks for the response. They variables are only used in the template, as the NRPE daemon is manged by flat files. I will do some research into hiera. --George On Tuesday, September 25, 2012 11:28:31 AM UTC-4, jcbollinger wrote: > > > > On Monday, September 24, 2012 11:47:31 AM UTC-5,

[Puppet Users] Re: Overriding variables.

2012-09-25 Thread jcbollinger
On Monday, September 24, 2012 11:47:31 AM UTC-5, George Shammas wrote: > > I am trying to override variables in a class that is defined in the > default node profile. I want parent class to be included in every single > node, but override its variables in others. I have tried > it several diff

[Puppet Users] Re: Overriding variables.

2012-09-24 Thread George Shammas
Another iteration of failure is the following. This one is in the likeness of ::parms for a class, but if it nrpe:load inherits override class, then I can't declare the override class anywhere else. This was my first attempt to do this, and have tried 4 other iterations of this, but as far as I