On Sun, 06 Jun 2010, Nicolas Szalay wrote:
> ----- "Douglas Garstang" <doug.garst...@gmail.com> a =??crit :
> | I was just doing a little research on the best way to switch over to
> | external nodes. It seems like you can't use a combination of the two
> | systems. Apparently if the external node tool can't find an external
> | node (because it hasn't been cut over yet), then that's a failure.
> | This makes moving from 'internal' nodes to external nodes BLOODY
> | difficult.
> 
> Yup, lookup is done only in one system : node file or external nodes.

No, lookup is done first in the external node classifier, then in node
definitions in site.pp (or the environment-specific manifest file).

> I leave nodes without a definition fail but you can also setup a
> class that reports that this node has no entry in the external node
> definitions with tag or an exported file.

I have the external node classifier set a $errormessage variable if
appropriate, and then something included by site.pp fails if the
error message is defined.

--apb (Alan Barrett)

-- 
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.

Reply via email to