[Puppet Users] Re: Exclusions in site.pp?

Paul Lathrop
Mon, 08 Sep 2008 20:50:48 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If there is a default node, and you aren''t using external nodes, and
the current node is not specified, it will use default.

- --Paul

On Mon, Sep 8, 2008 at 1:41 PM, josh  wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: http://getfiregpg.org

iEYEARECAAYFAkjFkCgACgkQX6ecHn3cW4nRgwCgi/+SHGKu3JzvFmH16glj5yTD
3xwAoJMZeo544FfKLh+Ug0J3Lwailzg9
=KjYQ
-----END PGP SIGNATURE-----

>
> Ah one more question which I neglected to ask.
>
> How do I specify that if a node is not in typea or typeb that it''s
> default?
>
> i.e. I now have:
>
> include nodes/*
>
> and in nodes:
>
> typea.pp:
>
> node foo, bar, baz {
>  include ipf.a
> }
>
> typeb.pp:
>
> node bear, monkey, lion {
>  include ipf.b
> }
>
> but for any other node I want it to include class ipf.other, but
don''t
> want to specify each of the other 600 or so hosts in a "typec.pp"
file
> or whatever., or will that just get covered by this statement in
> site.pp:
>
> node default {
>    include ipf
>    include sshd_conf
>    include disable_rpcbind
> }
>
>
>
> >