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? Or does it check the internal nodes first, then the external tool? Right now my internal nodes are all using the short hostname as the node name, and that works fine with the default node_terminus, but is failing with node_terminus = exec What's the actual sequence? My guess as to what it would be is something like: 1) check if external node classifier has anything for fqdn 2) check if external node classifier has anything for short hostname 3) check for internal node with same name as fqdn 4) check for internal node with short hostname That right? does it behave differently with no output and a 0 return code, or a non-zero return code? Is this documented anywhere? -- 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 -~----------~----~----~----~------~----~------~--~---