On Sat, Nov 20, 2010 at 1:59 PM, Daniel V. Klein wrote:
> Michael, you are right and I feel like a fool. Of course - the regex was
> wrong!
No need - I have been using regexes forever and still find new ways to
get them wrong all the time =)
>
> But to meet you half way... the \s* matches the
Michael, you are right and I feel like a fool. Of course - the regex was wrong!
But to meet you half way... the \s* matches the spaces the first time, and the
[^0] matches the "1". After that, it replaces the 0 with a 1, and then you're
100% right. Doh!
-Dan
On Nov 19, 2010, at 5:50 PM, Mic
I’ve deployed Cfengine 3.0.5p1 across 800 hosts. I only have an issue with the
Cfengine daemons on 1 box where it appears I am hitting a bug. On this
machine, it spins a single core to 100% user space CPU utilization. Here are
the details.
$ /var/cfengine/bin/cf-agent -v
...
f3 ---
On Sat, Nov 20, 2010 at 1:14 AM, C R Ritson wrote:
> It seems to me that I cannot arrange to validate promises regularly using
> classes defined elsewhere. Have I misunderstood something? In body executor
> control...
>
> schedule => { "Weekday.Morning.Q1", ... }
>
> fails to validate my promise
On Sat, Nov 20, 2010 at 9:50 AM, Michael Potter wrote:
> On Sat, Nov 20, 2010 at 6:20 AM, wrote:
>> Forum: Cfengine Help
>> Subject: replace_patterns bug?
>> Author: babudro
>> Link to topic: https://cfengine.com/forum/read.php?3,19347,19347#msg-19347
>>
>> Hello Cfengineers.
>>
>> Like Michael
On Sat, Nov 20, 2010 at 6:20 AM, wrote:
> Forum: Cfengine Help
> Subject: replace_patterns bug?
> Author: babudro
> Link to topic: https://cfengine.com/forum/read.php?3,19347,19347#msg-19347
>
> Hello Cfengineers.
>
> Like Michael Potter's post on 9 November, I am also running into some strange
First of all, thank you for the self-contained example! That helps a lot.
As far as I can tell, you have found a bug (but also a mistake in your
interpretation). Your pattern wont match in the string "enabled = 00", but not
because you only have a single 0 (it's because the first "0 doesn't mat
Forum: Cfengine Help
Subject: replace_patterns bug?
Author: babudro
Link to topic: https://cfengine.com/forum/read.php?3,19347,19347#msg-19347
Hello Cfengineers.
Like Michael Potter's post on 9 November, I am also running into some strange
behaviour with replace_patterns. I wonder if someone ca
Chris-
Well, actually I think Cfengine is doing what it was supposed to, then :-)
Rather than resort to hoop-jumping, why not just get in the habit of executing
your policy immediately after you check it in, to test for missed bugs?
-Dan
On Nov 19, 2010, at 10:17 AM, C R Ritson wrote:
>> I ag
To be honest, Cfengine is not that lightweight to run it on default
schedule on busy production servers, from my experience. My current
approach to writing promises consists of defining relatively relaxed
schedule (from 20 minutes to 1 hour and even more) while enforcing
urgent changes via cf-runag
>I agree with Seva about hard classes. But this makes me ask: why are
>you so erratically validating your promises? Why not every 5 minutes,
This started when I was deluged by a weekend's-worth of mail every 5 minutes,
because a syntax error had been overlooked and caused a noisy back-off to
f
Chris-
I agree with Seva about hard classes. But this makes me ask: why are you so
erratically validating your promises? Why not every 5 minutes, which is the
default? Cfengine is lightweight, and does not load your system. But if you
have "expensive" promises, just change the "if_elapsed"
Chris,
the schedule only accepts hard classes, AFAIR
2010/11/19 C R Ritson :
> It seems to me that I cannot arrange to validate promises regularly using
> classes defined elsewhere. Have I misunderstood something? In body executor
> control...
>
> schedule => { "Weekday.Morning.Q1", ... }
>
> f
It seems to me that I cannot arrange to validate promises regularly using
classes defined elsewhere. Have I misunderstood something? In body executor
control...
schedule => { "Weekday.Morning.Q1", ... }
fails to validate my promises when the class Weekday is defined in "bundle
agent executor"
Forum: Cfengine Help
Subject: Re: Parent process selection
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19311,19340#msg-19340
Thanks Matt. https://cfengine.com/bugtracker/view.php?id=265
___
Help-cfengine mailing list
Help-
Disregard please.
On Nov 19, 2010 7:08am, tktuc...@gmail.com wrote:
Is it possible to define the phost variable based on the clients network?
If the connecting client is originating from the lab network then set the
phost variable to the local policy server. All other clients should talk
to
Forum: Cfengine Help
Subject: Re: Parent process selection
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,19311,19338#msg-19338
Which bug is that? I haven't ran across any for AIX. Let me know the details
and perhaps I might be able to help.
_
Forum: Cfengine Help
Subject: Re: Parent process selection
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19311,19337#msg-19337
For those that don't know the ps command has subtle differences between most
versions of UNIX. We've been working on a process selection bug f
Forum: Cfengine Help
Subject: Re: Define phost variable by clients network
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19333,19336#msg-19336
bundle common global_classes {
# This bundle must be duplcated in promises.cf.
classes:
"dev_env" or => {
On 19-11-10 12:23, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Parent process selection
> Author: mark
> Link to topic: https://cfengine.com/forum/read.php?3,19311,19329#msg-19329
>
> This issue has not cropped up for a long time. The ps command has been
> relatively stable
Le 19/11/2010 12:25, Mark Burgess a écrit :
> Community and Nova are not meant to inter-operate, otherwise there would
> be no business model. You should stick to one or the other.
>
> On 11/19/2010 11:28 AM, Matthieu CERDA wrote:
>
>> Hello,
>>
>> I'm getting a strange behavior on a CFEngine c
Is it possible to define the phost variable based on the clients network?
If the connecting client is originating from the lab network then set the
phost variable to the local policy server. All other clients should talk to
policy server X and Y as I tried to do below. Any tips on how to achi
Community and Nova are not meant to inter-operate, otherwise there would
be no business model. You should stick to one or the other.
On 11/19/2010 11:28 AM, Matthieu CERDA wrote:
> Hello,
>
> I'm getting a strange behavior on a CFEngine community server, which
> keeps updating promises files wh
Forum: Cfengine Help
Subject: Re: Parent process selection
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19311,19329#msg-19329
This issue has not cropped up for a long time. The ps command has been
relatively stable for a long time, but it is very non-portable. Reading /proc
On 19-11-10 12:09, Bas van der Vlies wrote:
> On 19-11-10 11:56, no-re...@cfengine.com wrote:
>> Forum: Cfengine Help
>> Subject: Re: Parent process selection
>> Author: Seva Gluschenko
>> Link to topic: https://cfengine.com/forum/read.php?3,19311,19328#msg-19328
>>
>> Correct me if I wrong, but ps
On 19-11-10 11:56, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Parent process selection
> Author: Seva Gluschenko
> Link to topic: https://cfengine.com/forum/read.php?3,19311,19328#msg-19328
>
> Correct me if I wrong, but ps output on different Unix systems cannot be
> exact
Forum: Cfengine Help
Subject: Re: Parent process selection
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,19311,19328#msg-19328
Correct me if I wrong, but ps output on different Unix systems cannot be
exactly identical anyway, the further parsing is applied. Why not
Hello,
I'm getting a strange behavior on a CFEngine community server, which
keeps updating promises files when connecting to a Nova 2 policy hub,
even if the files weren't modified.
I suspect that my copy_from body is the culprit, maybe that compare =>
"digest" is incompatible between these tw
On 18-11-10 22:24, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Parent process selection
> Author: eystein
> Link to topic: https://cfengine.com/forum/read.php?3,19311,19322#msg-19322
>
> Interesting. The main concern is portability.
> Do you have experience with libproc on di
29 matches
Mail list logo