You might find a thread in this list with a subject of "Variable
scopes and overriding" helpful.

Mohamed.


On Sat, Mar 5, 2011 at 6:22 PM, . <f...@kraptastic.com> wrote:
> Hello puppeteers.
>
>    I'm trying to find out the 'puppet' way of overwriting a config/variable.
> I've tried using a define (http://pastebin.com/ncVwtwGj) and a parameterized
> class (http://pastebin.com/3UysCgi7). But both end up with duplicate
> definitions.
>
>    I'm trying to avoid setting up global variables or having a boatload of
> if statements in the class itself.
>
>    Basically I want to inherit a node and overwrite what is unique about the
> particular server. Is this possible?
>
> (I do realize sudoers supports include files, this is just an example I
> would want to setup many modules in the same fashion for overwrites).
>
> Any help is appreciated.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to