Luke Kanies <[EMAIL PROTECTED]> writes: > On Sep 26, 2008, at 3:35 PM, Eric Moore wrote: > >> >> Luke Kanies <[EMAIL PROTECTED]> writes: >> >>> On Sep 26, 2008, at 8:27 AM, Eric Moore wrote: >>> >>>> Could someone explain what the expected behavior of puppet is when >>>> trying to mix external and internal nodes? The docs suggest you can >>>> have both, but when I set node_terminus = exec, my internal (node >>>> file) definitions don't seem to get picked up at all. >>> >>> >>> Both should get used, and it consistently works for me. >>> >>> This only started working around 0.24, though. >> >> So if the external node classification tool doesn't print anything, or >> returns a non-zero status, it should fall back to the internal nodes? > > No, that's considered a failure. If you're using external nodes, the > external tool is expected to produce information. If you don't want > this behaviour, then provide support for a default configuration like > the ldap node support does.
When does the internal node definition get used, i.e. under what circumstances? What do the internal nodes do in combination with the external tool, and under what circumstances? > The external node tool is only ever asked for the certificate name of > the host, which is normally the fqdn. If you want your tool to > support the short name, then it's basically up to you to do that work > -- I didn't want to enforce behaviour on others' tools. Fair enough :) > If your tool produces no data, it's a failure. > >> >> Is this documented anywhere? > > Apparently not? > > -- > One of the Ten Commandments for Technicians: > (7) Work thou not on energized equipment, for if thou dost, thy > fellow workers will surely buy beers for thy widow and > console her in other ways. > --------------------------------------------------------------------- > Luke Kanies | http://reductivelabs.com | http://madstop.com > > > > -- Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---