I believe what Marcin is asking is how it would be possible to make puppet 
only run once a.k.a. if puppet is already running make the second run wait.

Is there some kind of option/flag that can enable a global lock that would 
prevent a second run of puppet not start if puppet is already running?

On Thursday, 16 October 2014 14:13:05 UTC+1, jcbollinger wrote:
>
>
>
> On Wednesday, October 15, 2014 10:53:33 AM UTC-5, Marcin Spoczynski wrote:
>>
>> Thanks for the answer, but the main question is why puppet need to have 2 
>> puppet runs instead of one in the 2 nd example?  
>>
>
>
> It is impossible to answer that question definitively from the data 
> provided.  The relevant manifests would be helpful, as would log output 
> that has not had relevant information edited out.
>
> Nevertheless, I observe that two different agent processes are logging 
> results in the second case, with only a short interval between their 
> entries.  It follows that the agent service was restarted in between.  In 
> all likelihood, therefore, the catalog applied to the second machine either 
> explicitly refreshed the puppet agent service before all other resources 
> had been applied, or else implicitly triggered the daemon to restart by 
> updating its config file.
>
> I cannot speak directly to why only the second machine required the agent 
> to be restarted.  I can offer only the rather unhelpful answer that either 
> its initial state or its catalog or both differed from the first machine's.
>
>
> John
>
>
-- 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/64ea771d-8454-4891-836e-cd731d2abdc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to