Forum: Cfengine Help
Subject: cfexecd
Author: kolakkar
Link to topic: https://cfengine.com/forum/read.php?3,16992,16992#msg-16992
Hi,
I was curious to know if we can change the configuration file for cfexecd.
Which basically means i want the cfagent to run with the config file in
/root/cf/abc.c
The trick is the get the watchers to stare at their belly-buttons ;-)
Justin Lloyd wrote:
> As I mentioned in my previous email, my concern is "quis custodiet ipsos
> custodes?". Zenoss will have to assume that role but with a sufficient
> timeout to prevent a similar problem as I had with svc.st
As I mentioned in my previous email, my concern is "quis custodiet ipsos
custodes?". Zenoss will have to assume that role but with a sufficient
timeout to prevent a similar problem as I had with svc.startd's
overzealousness. :)
Thanks,
Justin
-Original Message-
From: Mark Burgess [mailto
The SMF svc.startd daemon manages processes that it starts via whichever
method script you use. So if it sees the processes die, it automatically
tries to restart it, which as Mark confirmed, goes against the nature of
Cfengine's self-healing design. I was trying to create a "layered
service" appro
Any reason not to just use /etc/init.d/cfengine start and
/etc/init.d/cfengine stop as the exec_methods?
* Justin Lloyd [2010/04/23 12:53]:
> So after tweaking my manifest file a bit more and playing with in on a
> test system, I could be wrong but I think that Cfengine, as it is
> written, won't
CFengine is designed to be independent of this kind of service. It has its own
self-healing built in to the Nova release, so it's a bit like trying to keep a
ship afloat
by attaching a rocket to its hull ;-) You're more likely to blow a hole in the
side than
keep it afloat.
M
Justin Lloyd wrot
So after tweaking my manifest file a bit more and playing with in on a
test system, I could be wrong but I think that Cfengine, as it is
written, won't work well as an SMF service. As soon as cf-execd is
started by enabling the service, it's getting killed and restarting over
and over. I think this
Forum: Cfengine Help
Subject: Re: Hot to specify cfruncommand dynamically
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,16979,16985#msg-16985
This is for cf2 but the method would be the same for cf3.
http://watson-wilson.ca/blog/cfcookbook.html#SECTION00019
You should try to run it in gdb, and do a backtrace to see where it hangs. See
http://www.cfengine.org/pages/troubleshooting
M LZ wrote:
>
> Hi, trying to use cf3 on sparc/solaris8, compiled version 3.0.4. When
> testing simple command execution cf-agent hangs. Can anyone help with this?
>
>
Hi, trying to use cf3 on sparc/solaris8, compiled version 3.0.4. When
testing simple command execution cf-agent hangs. Can anyone help with this?
Thanks,
mlz
> /usr/local/sbin/cf-agent -v -K -f ./test.c
.
cf3 Verifying SQL table promises is only available with Cfengine Nova or
above
cf3 -
You may be right. In any case, please post your solution as I think it
is an interesting problem to solve =)
2010/4/23 Сева Глущенко :
> Michael,
>
> When we're going to any shell/perl construction, it would be rather
> natural to write a module instead. Of course I'm going to file a FR,
> but I a
You have to defined a class separately:
classes:
"notthere" not => fileexists("$(dst)/$(match.1)");
On Fri, Apr 23, 2010 at 8:38 PM, Сева Глущенко
wrote:
> Hello folks,
>
> I'm trying to make a promise which creates files when their
> counterparts not exist yet. But when I'm writing somethin
Hello folks,
I'm trying to make a promise which creates files when their
counterparts not exist yet. But when I'm writing something like
compile::
"$(base)/(.*)/.compile"
create => "true",
ifvarclass => !canonify(fileexists("$(dst)/$(match.1)
13 matches
Mail list logo