CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-15 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,27316,27385#msg-27385 It took me some time to think that it should stay like it is today. "exec_command" is a set of commands to be execut

CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27316,27324#msg-27324 Is it bug? ___ Help-cfengine mailing list Help-cfengine@cfengine.org https

CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,27316,27323#msg-27323 Why cfruncommand doesn't behave like exec_command? ... hmmm Cheers, -- Na

CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27316,27322#msg-27322 It seems like cf-twin is steal used for binary updates in CFEngine 3 Enterprise. I just mimic the same behavior for Community

CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27316,27321#msg-27321 Works like a charm. And it was a hint in the manual for exec_command :) The command is run in a shell encapsulation so pipes and

CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27316,27320#msg-27320 Wasn't cf-twin going to be depriciated? https://cfengine.com/forum/read.php?3,25655,25655#msg-

CFEngine Help: Re: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: Re: How to run cf-twin using cf-runagent? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,27316,27317#msg-27317 It seems like cfruncommand doesn't honour shell environment variables. What about this; running via shell command. cfrunco

CFEngine Help: How to run cf-twin using cf-runagent?

2012-09-12 Thread no-reply
Forum: CFEngine Help Subject: How to run cf-twin using cf-runagent? Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27316,27316#msg-27316 Hello, I want to be able to run CFE binary update immediately using cf-runagent. So I configured the following: body server control

Re: CFEngine Help: Re: cf-twin

2012-04-24 Thread Nick Anderson
On 04/24/2012 07:58 AM, Neil Watson wrote: > On Tue, Apr 24, 2012 at 10:18:32AM +0200, no-re...@cfengine.com wrote: >> I believed that there was a postinstall script in the previous package >> to copy /var/cfengine/bin/cf-agent to /var/cfengine/bin/cf-twin if it >> do

Re: CFEngine Help: Re: cf-twin

2012-04-24 Thread Neil Watson
On Tue, Apr 24, 2012 at 10:18:32AM +0200, no-re...@cfengine.com wrote: >I believed that there was a postinstall script in the previous package >to copy /var/cfengine/bin/cf-agent to /var/cfengine/bin/cf-twin if it >does not exist and when $(sys.cf_twin) is used and there is no >/var/

CFEngine Help: Re: cf-twin

2012-04-24 Thread no-reply
Forum: CFEngine Help Subject: Re: cf-twin Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,25655,25663#msg-25663 Actually, cf-twin is a dup of cf-agent. I use cf-twin in failsafe.cf to do a CFE upgrade. I believed that there was a postinstall script in the previous package

Re: cf-twin

2012-04-23 Thread Nick Anderson
On 04/23/2012 02:33 PM, Neil Watson wrote: > Greetings, > > What's the latest on the use of cf-twin in 3.3? It is referenced in the > included promises.cf. However, I do not see the cf-twin binary in the > built source or any way to create it in the included policies. Cf-tw

cf-twin

2012-04-23 Thread Neil Watson
Greetings, What's the latest on the use of cf-twin in 3.3? It is referenced in the included promises.cf. However, I do not see the cf-twin binary in the built source or any way to create it in the included policies. Cf-twin does not appear anywhere in the reference manual. Sincerely, --

Random delugues of cf-twin processes

2010-10-06 Thread Simon Oxwell
Hi all, I'm running cfengine 3.0.4 under a number of Solaris 10 zones across a number of Logical Domains. Occasionally - it seems to be just after installation - we get a build up of cf-twin processes, which don't seem to be hung per se - they're consuming some cpu cycle

Re: cf-twin?

2010-04-28 Thread Nakarin Phooripoom
cf-twin is exactly cf-agent. If your exec_command looks like exec_command => "$(sys.cf_twin) -f failsafe.cf && $(sys.cf_agent) You might need to copy cf-agent to become cf-twin. # cp /var/cfengine/bin/cf-agent /var/cfengine/bin/cf-twin Otherwise, just kindly change

cf-twin?

2010-04-28 Thread Сева Глущенко
Hello folks, The CFengine which has been newly installed from cfengine-community-3.0.4p2-1.centos5.i386.rpm complains: Apr 28 11:25:21 localhost cf-execd[7323]: Proposed executable file "/var/cfengine/bin/cf-twin" doesn't exist but cf-twin isn't included in the pac

Re: cf-twin message in cf 3.0.4

2010-03-08 Thread Mark Burgess
To eliminate it just copy /var/cfengine/bin/cf-agent to /var/cfengine/bin/cf-twin. We should downgrade the error message. M Neil Watson wrote: > Greetings, > > I'm seeing this message > Proposed executable file "/var/cfengine/bin/cf-twin" doesn't exist >

cf-twin message in cf 3.0.4

2010-03-08 Thread Neil Watson
Greetings, I'm seeing this message Proposed executable file "/var/cfengine/bin/cf-twin" doesn't exist What is this? I see some mention in the source. /home/neil/src/cfengine-3.0.4/src/exec.c: // twin is bin-twin\cf-agent.exe on windows, bin/cf-twin on Unix /home/neil/sr