A colleague, now retired, wrote the attached piece of python - clearly you
would need to customise this as it does things with our domain name to get the
correct string to hash. I hope this helps.
Chris Ritson (Computing Officer and School Safety Officer)
Room 707, Claremont Tower,EMAIL
Is there a "right" way to promise that cf-execd is using an up to date promise
definition? I have recently taken the "-I" out of the command string it is
using to start cf-agent periodically, but the running instance on my server is
still mailing me with more verbose output than I want. Sending
> topic: https://cfengine.com/forum/read.php?3,18931,19016#msg-19016
>
>Mark,
>
>I propose to add my explanation from above to the reference. I believe
>it's clear enough.
This prompted me, as a struggling newcomer, to have another look at the topic.
It's very easy to ignore the "item" in that de
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"
>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
What's the best way to ensure that a cups configuration is up to date?
If I check that /etc/cups/printers.conf is identical on the clients and a
policy master, then I cannot use "lpadmin -d" after a repair as this would make
the files diverge. It looks as if cfengine has to do the whole job to a
Is there any possibility of altering splayclass to pick a pseudo random
5-minute interval in a complete shift? I think this would mean altering
FnCallSplayClass() to generate (for example) something like
Min15_20.(Hr02|Hr08|Hr14|Hr20)
instead of the current class string it generates. If I we
>-Original Message-
>
>Forum: Cfengine Help
>Subject: Re: Cfengine Help: Hard classes vs defined classes ?
>Author: Seva Gluschenko
>Link to topic: https://cfengine.com/forum/read.php?3,21346,21350#msg-21350
>
>You can use hostname or IP based guessing like:
>
>bundle common g
>{
> classes:
Is there any chance of a change to the C code that implements "splayclass" to
give me an easy way of selecting a random quarter-hour slot in each 6 hour
shift? I too have had to up my schedule and reduce my default splay time to 5
minutes in cf-execd to allow the use of splayclass.
Chris Ritson
I don't think that particular use of ifelapsed would work if the resource
intensive update is also potentially disruptive, so constrained only to be
checked at "Night". The first 5-minute interval in which that promise is
checked, it will be about 18 hours old so all will be done together. The
10 matches
Mail list logo