Hello

I think you'd probably be best served by using a sql backend to hiera.

this would allow you to think and configure in terms of host groups but
hiera to find that a host has a class of group.

A view or two might be needed to keep things tidy.

Neil
On 23 Apr 2014 21:42, "Sans" <r.santanu....@gmail.com> wrote:

>
> Thanks Jose!
> That trick worked (I've actually used that thing before) but I was
> wondering if there is a way to do it "properly", like creating  a
> host-group or something like that.
>
> Best!
>
> On Wednesday, April 23, 2014 12:25:09 PM UTC+1, Jose Luis Ledesma wrote:
>>
>> Hi,
>>
>> You can use a default node definition, checking if the hostname is inside
>> any of your array declarations.
>>
>> Regards,
>>
>  --
> 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/b5c3d9d9-b049-495a-8aef-f7726a345afc%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/b5c3d9d9-b049-495a-8aef-f7726a345afc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAAohVBcGt9cOKXtT2OfO3hOXKO2LvcB05nZKi1ygPodX1rS1rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to