CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27471#msg-27471 /var/cfengine/masterfiles on our server is a working copy of a single subversion repository (with externals t

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27470#msg-27470 jgreer Wrote: --- > policy from $(sys.workdir) into m

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27469#msg-27469 Be aware that all examples and policies produced by Cfengine include the failsafe usage as we've described.

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27468#msg-27468 Be aware that all examples and policies produced by Cfengine include the failsafe usage as we've describ

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27467#msg-27467 Thanks to everyone for their helpful responses. It would be excellent if future releases of CFEngine 3 allowe

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27428,27466#msg-27466 wilma:/home/root/inputs# cf-agent -KIf ./print_vars.cf . . . R: sys.cf_key = "/var/cfengine/bin/cf-k

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,27428,27465#msg-27465 But in community cf-twin evaluates to cf-agent correct? cf-twin is only for enterprise I thought.

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,27428,27464#msg-27464 Jessica, The default executor line in CFEngine Community is this: https://github.com/cfengine/core/blob/ma

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27463#msg-27463 Neil, So this *is* a feature thing - a functional difference between CFEngine 2 and 3. That's helpful to kn

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27457#msg-27457 Running failsafe first is the standard method: http://cfengine.com/manuals/cf3-Reference#exec_005fcomman

Re: CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread Bas van der Vlies
On 09/20/2012 04:44 PM, no-re...@cfengine.com wrote: > We have now: > > exec_command => > "$(sys.workdir)/bin/cf-agent; $(sys.workdir)/bin/cf-agent -f > /var/cfengine/inputs/failsafe.cf"; > > So I'd propose switching to: > > exec_command => > "$(sys.workdir)/bin/cf-agent -f /var/

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27455#msg-27455 Hi Neil, I think you're right that this is a matter of logic for us. We're hoping you can help. We hold CF

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-19 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27434#msg-27434 I do not believe what you describe is a feature but rather a thing of logic. How you logically configur

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-19 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: nicksilkey Link to topic: https://cfengine.com/forum/read.php?3,27428,27433#msg-27433 We do run with a dated cfengine install which hasnt seen an upgrade in a while. Was curious if this was

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-19 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27430#msg-27430 "...which expects paramaters to be passed at usebundle() ... which doesnt happen until the second agent

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-19 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: nicksilkey Link to topic: https://cfengine.com/forum/read.php?3,27428,27429#msg-27429 Here is an example diff which provokes this behavior. In our case, the initial agent run post-changeset w