On Monday, September 9, 2013 6:26:26 AM UTC-5, pierra mathieu wrote:
>
> Hi everyone, 
>
> I have an issue setting up Puppet with an ENC.
> For some nodes, puppet calls my ENC twice with a 2 sec interval.
>
> All my agents share the same configuration file. 
>
>
> Considering this very basic ENC : 
>
> #!/bin/bash
>> nodeName=$1
>> echo `date` $nodeName >> /tmp/encCalls
>> echo "---
>> classes:
>>   testClass:"
>
>
>
> Here is the content of /tmp/encCalls after a few run on two nodes.
>
> Mon Sep  9 11:36:15 CEST 2013 : host1
>> Mon Sep  9 11:36:17 CEST 2013 : host1
>> Mon Sep  9 11:41:04 CEST 2013 : host2
>> Mon Sep  9 11:42:04 CEST 2013 : host1
>> Mon Sep  9 11:42:06 CEST 2013 : host1
>> Mon Sep  9 11:45:13 CEST 2013 : host2
>
>
>
> Anybody knows why two calls are made ?
>
>

My first guess would be that you have two copies of the agent running on 
some nodes.  If your manifest set is as simple as your ENC, then the Puppet 
agent could perform a full cycle fast enough that two separate catalog 
requests from the same node are received within 2 seconds.


John

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to