"Kurt Bendlin" <[EMAIL PROTECTED]> writes:

> Funny. Using the following script from the 
> wiki(http://reductivelabs.com/trac/puppet/wiki/ExternalNodes): 
>
> #!/bin/sh
> # Super-simple external_node script for versions 0.23 and later
> cat <<"END"
> ---
> classes:
>   - basesystem
> parameters:
>   puppet_server: puppet.example.com
>   dns_server: ns.example.com
>   mail_server: mail.example.com
> END
> exit 0
>
> The problem is still the same: nodes defined in site.pp are executed 
> with all their defined classes (not just basesystem) and notes which are 
> not defined in site.pp still say
>
> "err: Could not retrieve catalog: Could not find default node or by name 
> with 'host03-lists.dev.test.de, host03-lists.dev.test, host03-lists.dev, 
> host03-lists' on node host03-lists.dev.test.de"
>
> When I add a "sleep 60" into the script I can see that it is run with 
> "host03-lists.dev.test.de" as argument by user puppet. 

Do you have a default node in site.pp?  The way the external node
system interacts with the internal node definitions is non-intuitive.

Both subsystems must return *something* (possibly empty) for all
nodes, and the configuration for the node is the union of the
resources returned by the external and internal node systems.

So you either need a default node, or a node definition for any node,
even if you're using the external node classification system.

> Kurt 
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to