On Mon, Sep 8, 2008 at 1:54 PM, josh <[EMAIL PROTECTED]> wrote:
>
> So here's the scenario, roughly 800 hosts as puppet clients, single
> puppet master server, all running Open Solaris.
>
> Most of them are identical, I have roughly 25% or so that have
> different firewall rulesets.
>
> Currently my site.pp looks like this:
>
> # /etc/puppet/manifests/site.pp
>
> import "classes/*"
>
> node default {
> include ipf
> include sshd_conf
> include disable_rpcbind
> }
>
> What I'd like to do is have some way to split up the nodes by
> classification, i.e. import nodes/typea, import nodes/typeb, import
> nodes/typec
> then have
>
> node typea {
> include ipf-typea
> }
>
> node typeb
> include ipf-typeb
> }
> node typec
> include ipf-typec
> }
>
> Or something along those lines, and nodes/typea contains a list of
> all the typea stores, nodes/typeb includes a list of the typeb hosts,
> etc.
>
> Is this possible?
>
> Thanks,
> Josh
Pretty much just the way you did it.
site.pp:
import "classes/*"
import "nodes/*"
under nodes/
typea.pp:
node typea1{
stuff
}
node typea2{
stuff
}
typeb.pp:
node typeb1{
stuff
}
Evan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---