Issue #1635 has been updated by luke.

Right -- don't have your external nodes script exit, have it return the 
equivalent of an empty node.

You should be able to just have it return <code>--- {}\n\n</code> for nodes 
that don't exist -- this is a yaml-dumped empty hash.
----------------------------------------
Bug #1635: Allow external_nodes script to be non-authoritative
http://projects.reductivelabs.com/issues/show/1635

Author: rrati
Status: Rejected
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.4
Keywords: 


The documentation for the external_nodes script states:

"NOTE: You can use node entries in your manifests together with External nodes."

However my attempts to have a node in a manifest that the external_nodes script 
will return nothing about seemed to indicate that the eternal_nodes script was 
taken as the authoritative source for node definitions, and any definitions in 
the manifests were ignored.

Ideally, it would be nice to be able to configure how the external_nodes script 
is used, with options for authoritative (sole source of node definitions), 
Primary (first check, then use manifest), Last (check manifests first), etc.  
This type of functionality would be useful for a case where many nodes are 
similar and would use the external_nodes script, but a few that don't fit in 
the external_nodes script parameters could be defined in the manifest file.


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to