On Thu, 22 Jan 2009 10:32:14 -0600
Mike Renfro wrote:
>
> On 1/22/2009 10:11 AM, Arnau Bria wrote:
>
> > Yep, I was thinking of inherits, but I'll have to control host group
> > like:
> > node "nodeA" "nodeB" {
> > }
> >
> > which is what I'm trying to not use.
>
> Your original concept used something like
>
> WN_A {
> td234.pic.es
> }
>
> WN_B {
> td065.pic.es
> td006.pic.es
> }
>
> which isn't too different. What specifically are you trying to avoid?
Maybe it's just syntax issue....
maybe with files example I can explain myself better:
WN_A.pp
{
td234.pic.es
}
WN_B.pp
{
td065.pic.es
td006.pic.es}
nodes.pp
> group WN_A WN_B{
> include C
> }
>
>
> group WN_A {
> include A
> }
>
> group WN_B {
> include B
> }
Then adding a noe is just adding a new line to a file...
I'll manage about 100-120 hosts...1
Thanks for your reply,
Cheers,
Aranu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---