logo       

default node (was: Re: Template Nodes considered harmful): msg#00247

sysutils.puppet.user

Subject: default node (was: Re: Template Nodes considered harmful)

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

On Wednesday 24 October 2007, Digant C Kasundra wrote:
> First, thanks to David for the updates to Wiki.

My pleasure :)

> Second, is the default node still valid and working? I didn't capture this
> in my Best Practice but we do have a node default that was inheriting from
> node basenode, so I'm thinking it should now include class baseclass. How
> is the default node handled with external node definitions?

- From the sample templates.pp on PuppetBestPractise:

| node default {
| include baseclass
| }

AFAIK, the default node is only applied when there is no named node found. I
would expect that external node classifying would override this behaviour
too.


Regards, David
- --
The primary freedom of open source is not the freedom from cost, but the free-
dom to shape software to do what you want. This freedom is /never/ exercised
without cost, but is available /at all/ only by accepting the very different
costs associated with open source, costs not in money, but in time and effort.
- -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHHuJd/Pp1N6Uzh0URAi/eAJ4nqrr1UWj4IXn751pI3YZQI6OEUQCeNXmf
xLkNDKB0TZg7lv6RG11g1c0=
=mdVc
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise