Forum: Cfengine Help
Subject: Re: Restarting cf-execd ?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21782,21783#msg-21783
Currently Cf-execd does not reread a change policy. So, if you change it's
schedule it must be restarted before the change will take affect. I a
Forum: Cfengine Help
Subject: cfengine 3.1.5 pcre question
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,21784,21784#msg-21784
I used the expression "#.*" in the comment field of several
readstringarry/readstringlist functions. Prior to 3.1.5 this always worked
without probl
On 05/06/2011 03:13 PM, no-re...@cfengine.com wrote:
> Can anyone explain why "#.*" caused problems in 3.1.5 and why changing it to
> "#[^\n]*" fixed the problems? I thought a "." represented any character
> except a new line character and was the same thing as "[^\n]".
I have made this change
Forum: Cfengine Help
Subject: Re: Cfengine Help: cfengine 3.1.5 pcre question
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,21785,21786#msg-21786
Ahhh...
Thank you Mikhail. I was starting to think I had forgotten what little I know
about PCREs :)
It would probably be a good
Forum: Cfengine Help
Subject: Re: Cfengine Help: cfengine 3.1.5 pcre question
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,21785,21787#msg-21787
BTW, I think the fact that a "." now matches ANY character rather than any
character except a newline needs to described in the ref
Forum: Cfengine Help
Subject: Re: Restarting cf-execd ?
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21782,21788#msg-21788
Thanks for the feedback, Neil. It sounds like you are talking about the
processes on the servers, not on the clients?
Did you have reason to re-st
Forum: Cfengine Help
Subject: Re: Restarting cf-execd ?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21782,21789#msg-21789
Cf-execd, cf-monitord and cf-serverd can all run on servers and clients. Other
than policy there is no difference between a client and a server.
Forum: Cfengine Help
Subject: Re: Restarting cf-execd ?
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21782,21791#msg-21791
Sorry Neil, I must not have been clear.
I mean, do you also restart the cf-processes on all the clients, as well as the
servers?
___
Forum: Cfengine Help
Subject: Re: Restarting cf-execd ?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21782,21792#msg-21792
'cf-processes'. Is that a Nova program that I'm not familiar with? I've not
seen it mentioned in any of the documentation.
On 05/06/2011 09:56 AM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Restarting cf-execd ?
> Author: debheller
> Link to topic: https://cfengine.com/forum/read.php?3,21782,21791#msg-21791
>
> Sorry Neil, I must not have been clear.
>
> I mean, do you also restart the cf-pr
Sorry, folks - typo'ed contact in my mail client. Please ignore.
-Jessica
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
Forum: Cfengine Help
Subject: Re: Restarting cf-execd ?
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21782,21794#msg-21794
neilhwatson Wrote:
---
> 'cf-processes'. Is that a Nova program that I'm
> not familiar with? I
Forum: Cfengine Help
Subject: Redhat Patching (update) using yum_rpm or yum via cfEngine.
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,21796,21796#msg-21796
I have various installs with different packages installed and a dedicated repo
for patching. I know how to setup a
Forum: Cfengine Help
Subject: Running a command just once.
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,21797,21797#msg-21797
I have a need to do some custom installs of home brewed stuff. I need the
install to run only once. I have written a script to do the install th
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: ariconstancio
Link to topic: https://cfengine.com/forum/read.php?3,21797,21798#msg-21798
How about checking for the existence of the flag file with cf3, defining a new
class?
Regards,
Ari Constancio
_
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,21797,21799#msg-21799
I strongly urge you not to think in these terms, If running the script twice is
so dangerous, you are setting yourself up for disaster no matter w
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: jeromebaum
Link to topic: https://cfengine.com/forum/read.php?3,21797,21800#msg-21800
Was just working on a config today. Part of it was "create a database w/ its
tables, add some stored procedures, import a development snapsh
Forum: Cfengine Help
Subject: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21796,21801#msg-21801
chadpatt Wrote:
---
> I have various installs with differen
Forum: Cfengine Help
Subject: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,21796,21802#msg-21802
No, I could do that... I have done that. I was just wondering if there is a
way to use the internals of cfengi
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Restarting cf-execd ?
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21793,21803#msg-21803
I have not found it necessary to restart all processes on all nodes whenever a
policy is changed - that would be a tremendous bur
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21797,21804#msg-21804
Nova can interact directly with databases.
http://www.cfengine.org/manuals/cf3-reference.html#databases-in-agent-promises
_
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Restarting cf-execd ?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21793,21805#msg-21805
Those restarts I mentioned are automatic by policy.
___
Help-cfengine mailing list
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: jeromebaum
Link to topic: https://cfengine.com/forum/read.php?3,21797,21806#msg-21806
"Budget problems" :)
Though that still leaves the question, is cfengine the right tool for the job?
I'm not asking if you can bend it to do
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21797,21807#msg-21807
There is not enough information for me to say whether you should do it. You
probably can do it even with the community version.
_
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,21797,21808#msg-21808
I am new here and don't mean to step on toes, but has this thread been hijacked
from my original question?
__
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: jeromebaum
Link to topic: https://cfengine.com/forum/read.php?3,21797,21809#msg-21809
Sorry about that. I considered your question answered and wanted to use the
existing context. However, you should be the one to decide wheth
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21797,21810#msg-21810
Sorry, I just noticed that. You were thread-napped.
___
Help-cfengine mailing list
Help-cfengi
On Fri, May 6, 2011 at 12:05 PM, wrote:
> Forum: Cfengine Help
> Subject: Re: Running a command just once.
> Author: jeromebaum
> Link to topic: https://cfengine.com/forum/read.php?3,21797,21800#msg-21800
>
> Was just working on a config today. Part of it was "create a database w/ its
> tables,
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,21797,21811#msg-21811
I am mostly looking for some real world guidance. I have a working solution
and I will consider my question answer.
Thanks...
_
Forum: Cfengine Help
Subject: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21796,21813#msg-21813
Yeah, understood. There is some package handling available, but not in the way
you're looking for - which see
On Fri, May 6, 2011 at 18:49, Christopher Browne wrote:
> On Fri, May 6, 2011 at 12:05 PM, wrote:
> > Forum: Cfengine Help
> > Subject: Re: Running a command just once.
> > Author: jeromebaum
> > Link to topic:
> https://cfengine.com/forum/read.php?3,21797,21800#msg-21800
> >
> > All of these on
Forum: Cfengine Help
Subject: Re: Running a command just once.
Author: jeromebaum
Link to topic: https://cfengine.com/forum/read.php?3,21797,21814#msg-21814
In that case what Mark said is the ideal state you want to be in -- pure
convergence. The idea is that you want to be in state B. Right now
I've given up on cf3's yum package management. I initially used package_method
"yum," which worked fine ... until my package list got too long, and it broke
(I tried putting my packages into two lists, no luck there.) I switched to
"yum_rpm," which worked fine, until suddenly it stopped installi
I have a weekly cron restart of cf-execd as there is a bug that seems to
leak file descriptors until none are available. See:
https://cfengine.com/forum/read.php?3,19424,19990#msg-19990
I started with 3.0.5 so can not agree with the report that it was fixed in
that rev. I've left the weekly cron
On Fri, May 6, 2011 at 1:24 PM, Jerome Baum wrote:
> I am still worried whether cfengine is the right tool for this. It's not
> that I want to keep bringing the system into the "database has exactly
> as its content" state -- I just initially want to get it there. So, I
> am trying to converge to
Le 06/05/2011 18:05, no-re...@cfengine.com a écrit :
> Forum: Cfengine Help Subject: Re: Running a command just once.
> Author: jeromebaum Link to topic:
> https://cfengine.com/forum/read.php?3,21797,21800#msg-21800
>
> Was just working on a config today. Part of it was "create a database
> w/ it
Forum: Cfengine Help
Subject: ifrepaired/usebundle?
Author: usernotfound
Link to topic: https://cfengine.com/forum/read.php?3,21820,21820#msg-21820
I'm trying to use cfengine to provision logical volumes based on a list of
courses. As you can see in this example code below, I have seperate promi
Forum: Cfengine Help
Subject: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.
Author: usernotfound
Link to topic: https://cfengine.com/forum/read.php?3,21796,21821#msg-21821
Using the suggested "/bin/yum -y update" is actually executing LESS yum
commands that the "cfengine intern
38 matches
Mail list logo