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
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
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
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
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
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-
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
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
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
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/
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
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
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,
--
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
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
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
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
>
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
18 matches
Mail list logo