Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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

Cfengine Help: cfengine 3.1.5 pcre question

2011-05-06 Thread no-reply
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

Re: Cfengine Help: cfengine 3.1.5 pcre question

2011-05-06 Thread Mikhail Gusarov
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

Cfengine Help: Re: Cfengine Help: cfengine 3.1.5 pcre question

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Cfengine Help: cfengine 3.1.5 pcre question

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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.

Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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? ___

Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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.

Re: Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread Nick Anderson
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

Re: Off by one error in to-do list

2011-05-06 Thread Jessica Greer
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

Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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

Cfengine Help: Redhat Patching (update) using yum_rpm or yum via cfEngine.

2011-05-06 Thread no-reply
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

Cfengine Help: Running a command just once.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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 _

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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 _

Cfengine Help: Re: Cfengine Help: Re: Restarting cf-execd ?

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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. _

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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? __

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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

Re: Cfengine Help: Re: Running a command just once.

2011-05-06 Thread Christopher Browne
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,

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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... _

Cfengine Help: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.

2011-05-06 Thread no-reply
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

Re: Cfengine Help: Re: Running a command just once.

2011-05-06 Thread Jerome Baum
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

Cfengine Help: Re: Running a command just once.

2011-05-06 Thread no-reply
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

Re: Cfengine Help: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.

2011-05-06 Thread Michael Stevens
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

Re: Cfengine Help: Restarting cf-execd ?

2011-05-06 Thread Frans Lawaetz
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

Re: Cfengine Help: Re: Running a command just once.

2011-05-06 Thread Christopher Browne
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

Re: Cfengine Help: Re: Running a command just once.

2011-05-06 Thread Jonathan Clarke
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

Cfengine Help: ifrepaired/usebundle?

2011-05-06 Thread no-reply
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

Cfengine Help: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.

2011-05-06 Thread no-reply
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