-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 01 November 2007, Iwan Vosloo wrote:> Hi there,
>
> If I have a manifest with, say:
>
> node default { ..stuff.. }
> node mymachine { ..stuff.. }
>
> What would happen on mymachine: will the stuff in default be executed
> *as well as* the stuff in default, or only the stuff in mymachine?
The default node is only applied if no named node is found for a client.
> And, if the latter, should I move global stuff just to global scope
> outside of nodes?
No, because there _will_ be a node that will not want you default config. Take
a look at template classes on the wiki (GlossaryOfTerms and
PuppetBestPractices).
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)
iD8DBQFHKaen/Pp1N6Uzh0URAojaAKCYGQDuWXZsTtGOt66SU5o1k5njHgCeOJFk
GUE3HpYNFKQc1HG7miqDRJs=hq1R
-----END PGP SIGNATURE-----