*Thanks for the details response.*

On Tuesday, June 17, 2014 10:28:01 PM UTC+3, jcbollinger wrote:

Probably.  Hooking up an ENC is not very hard.
>
> If the ENC is not running when a catalog request comes in then most likely 
> the ENC it is not properly configured.  Supposing that you are running in 
> agent / master mode, the ENC needs to be set up on the master.  There, the 
> 'node_terminus' configuration parameter must be set to "exec" and the 
> 'external_nodes' configuration parameter must be set to the absolute 
> pathname of the ENC script.
>
> Furthermore, the script must be accessible and executable by the master, 
> which typically does not run as a privileged user.  Not only the script, 
> but also all directories in the path to it must be readable and 
> executable/traversable by the master.  File permissions and other access 
> controls may come into play here.
>
> Also, once it is properly configured, you need to restart the master in 
> order for the new configuration to be noticed.
>
>  
All done already as you describe.
 

> It is highly unlikely that the master is running the ENC successfully, the 
> output is what you say, and yet it is ignored.
>  
>
 
>
>> Is there any way to debug it? 
>>
>>
>
> I would start by looking at the master's log.  If you're not already 
> running the master with --debug output turned on, then I would do that, 
> too, to make the log more informative.  Likewise, look at the agent's log.  
> In particular, make sure the agent successfully retrieved a fresh catalog 
> from the master -- it will complain if it cannot do so, but it may then 
> proceed to use a cached catalog.
>
>
I will try that.

>
> John
>
>
Thanks a lot! 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/491960a1-8081-4835-a18f-c546bc88e988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to