-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Douglas Garstang wrote: > On Sun, Dec 13, 2009 at 11:29 PM, Peter Meier <peter.me...@immerda.ch> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >>> I'm no expert at external nodes, so I went and read: >>> http://reductivelabs.com/trac/puppet/wiki/ExternalNodes >>> >>> That doc still really doesn't say exactly what external nodes are. >>> It's a way of storing node info in an external source such as MySQL or >>> LDAP, right? >> or a yaml file, a csv file, <whatever you can imagine, can be read by a >> script and can be revision controlled> >> >> cheers pete > > I don't get it. What's the benefit of putting your nodes in a yaml > file or a csv file rather than a puppet node file? >
That's just one example. You can back-end it with any script or DB containing node information. When the Puppet client connects the master queries the external node script and says "Do you have a host called insertnamehere?". This allows you to: a) saves you defining each node in a Puppet manifest and allowing a greater flexibility of maintenance. b) potentially query external data sources (such as LDAP or asset management stores) that already know about your hosts meaning you only maintain said information in one place. Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBSyXzCCFa/lDkFHAyAQJTywf/X5NhpGUjjQhH6a2/c110cC3EMJ2fK/PW XTfba3ld2D8iy+5DAHLU3IZt0rPZYLmD56+puHBqUQUQx3jLJctCVJF4sjqbZ9Py VFgOSSnqq++sNkHbwVowSmyEjykRIlNrW1Rrc0+e4FXUdx5LP07sbCwa3x/VdNGE +HnZTZQegcWAbbJ6O3Dp66n8KsYnMwNzFscNHP4boYc1WjyCohokmhk5JReC+ctp Y4Bca8ZzhF2jgcjhEFQwO7unYlIAhxeINger8SsevOYsBbXsrGqXTbco6mxotSJl aFb225j+w9MTYCzOPquslVQICHrXvLpnpoS7tlg3QI8oQHi0HiXC+Q== =0K1i -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.