Re: Linux Packages Cfengine 3

2010-02-23 Thread Gus Tofwin
I think this is fantastic are there sources (srpms) available? My two cents on the lsb: Personally I have used both and have no favorite. I don't think we can move the /var/cfengine/bin to /opt/cfengine/bin like we had as an option in v2 at build time. V3 seems to be more static in the build to be

Directory is controlled by another user - trusting its content is potentially risky (possible race)

2010-02-23 Thread Ingersoll, Robert
What do these messages mean and why am I getting so many of them from each run of this promise? "/var/opt/ids/error\.log\.[0-9]{1,2}" transformer => "/bin/compress -f $(this.promiser)"; Directory /var in search path /var/opt/ids/error\.log\.[0-9]{1,2} is controlled b

Re: more wish list observations

2010-02-23 Thread Mike Hoskins
On 2/23/10 12:15 PM, "Mark Burgess" wrote: > Sorry, I misread. Already looking at this, but not next release. Thanks, and to be fair, I also misread cf-execd as cf-serverd in Neil's original post... Though the preference of being able to control auto-restart behavior (regardless of which daemon)

Re: more wish list observations

2010-02-23 Thread Mark Burgess
Sorry, I misread. Already looking at this, but not next release. Mark Burgess wrote: > CFserverd already rereads its config when it changes. > > michoski wrote: >> On 2/23/10 11:21 AM, "nwat...@symcor.com" wrote: >>> Classes and case. >>> I'm very lazy. I'd prefer if Hr13 and hr13 were the sam

Re: case sensitivity in cf3 regexes

2010-02-23 Thread NWatson
For posterity there is a way to do this. I was referred to the pcrepattern man page in a separate thread.Here is a working example. [nwat...@unxxhd01 inputs]$ cat bar.cf ## body common control { bundlesequence => { "test" }; } bundle agent test { classes:

Re: more wish list observations

2010-02-23 Thread Mark Burgess
CFserverd already rereads its config when it changes. michoski wrote: > On 2/23/10 11:21 AM, "nwat...@symcor.com" wrote: >> Classes and case. >> I'm very lazy. I'd prefer if Hr13 and hr13 were the same. The really >> annoying hard classes are the likes of SuSE, which I can never remember. >> W

Re: more wish list observations

2010-02-23 Thread michoski
On 2/23/10 11:21 AM, "nwat...@symcor.com" wrote: > Classes and case. > I'm very lazy. I'd prefer if Hr13 and hr13 were the same. The really > annoying hard classes are the likes of SuSE, which I can never remember. > Why can't it be suse? +1 > I wish that Community cf-execd would reread config

more wish list observations

2010-02-23 Thread NWatson
These are more observations I've made over the past little while. Not criticism just things I would think of doing were I king for the day. Classes and case. I'm very lazy. I'd prefer if Hr13 and hr13 were the same. The really annoying hard classes are the likes of SuSE, which I can never rem

Re: Who deletes all files in /var/cfengine/inputs?

2010-02-23 Thread Wes Rogers
I agree it probably shouldn't do this, but for us it has only happened a handful of time over the last 3 years on thousands of systems so it wasn't worth debugging further. For us originally, purging /inputs helped combat errant configurations, although now we use other external methods to solve t

Re: Multiple edit lines in the same Promise

2010-02-23 Thread Mark Burgess
edit_line is a "subroutine", do either -- vars: "lines" string => " /scripts /batch.. "; files: "/etc/auto_direct" comment => "Installing /batch and /scripts", create => "true",

Re: Multiple edit lines in the same Promise

2010-02-23 Thread NWatson
I view one edit line as one promise. Having multiple edit lines muddies the promise water. You could try placing your lines in a list and have a single promise process the list. Complex example: http://www.cfengine.org/manuals/cf3-solutions.html#Postfix-mail-configuration Sincerely, -- Neil Wa

Multiple edit lines in the same Promise

2010-02-23 Thread Mark Nelson
Hello I'm trying to add two lines into a file using the edit_line statement My code looks as follows - TestServers:: "/etc/auto_direct" comment => "Installing /batch and /scripts", create => "true", edit_line => ap

Re: Fwd: [lopsa-discuss] Configuration Management

2010-02-23 Thread NWatson
Alas, I only have access to SVN from home, in the evenings. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the inten

Re: Fwd: [lopsa-discuss] Configuration Management

2010-02-23 Thread Mark Burgess
That's what svn is for ;-) nwat...@symcor.com wrote: > What version did cf-runagent begin to take the --hail option? > > Sincerely, > -- > Neil Watson > 416-673-3465 > > > > > > > CONFIDENTIALITY WARNING > This commun

Re: Fwd: [lopsa-discuss] Configuration Management

2010-02-23 Thread NWatson
What version did cf-runagent begin to take the --hail option? Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the int

Re: building cf 3.0.3 on rhel 5 32 bit

2010-02-23 Thread Mark Burgess
Yes nwat...@symcor.com wrote: > Will this fix make to 3.0.4 due out soon? > > Sincerely, > -- > Neil Watson > 416-673-3465 > > > > > > > CONFIDENTIALITY WARNING > This communication, including any attachments, is for

Re: building cf 3.0.3 on rhel 5 32 bit

2010-02-23 Thread NWatson
Will this fix make to 3.0.4 due out soon? Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intended recipient, any

Re: building cf 3.0.3 on rhel 5 32 bit

2010-02-23 Thread Mark Burgess
This is a simple thing. Fixed in svn nwat...@symcor.com wrote: > Greetings, > > Yesterday I had troubles building cf3.0.2 on rhel 5 32 bit. Cf-promises > -x segfaulted. Today I tried again on another host, same architecture. > The result was the same. Now I've tried the same thing but with

building cf 3.0.3 on rhel 5 32 bit

2010-02-23 Thread NWatson
Greetings, Yesterday I had troubles building cf3.0.2 on rhel 5 32 bit. Cf-promises -x segfaulted. Today I tried again on another host, same architecture. The result was the same. Now I've tried the same thing but with version 3.0.3. Still the problem persists. I used a straight configure w

Conversion of Cfengine 2 to Cfengine 3

2010-02-23 Thread Mark Burgess
Now on line at our Technical Corner is a conversion sampler, that enables you to perform a limited conversion of portions of configuration from Cfengine 2 to Cfengine 3. To convert larger samples more completely, you can arrange professional services with Cfengine AS/Inc. https://cfengine.com/ins