Aborting CFEngine agent if there is an earlier instance of it already running

2012-09-06 Thread Aleksey Tsalolikhin
I noticed that since the agent is started at (short) regular intervals, if something goes wrong and the previous run doesn't complete within 5 minutes, the next run will overlap the earlier run. Again, if the run doesn't finish in time, then I will have 3 runs... then 4... etc. processes pile up

Re: cfengine doesn't define class with the IPs of the loopback interface

2012-09-06 Thread Diego Zamboni
It seems there's a good set of valid use cases for this - would someone care to open a feature request for it? Please use the tracker at https://cfengine.com/dev/projects/core Best regards, --Diego On Sep 6, 2012, at 4:24 PM, Daniel Bidwell wrote: > We use routable addresses on loopback devi

Re: cfengine doesn't define class with the IPs of the loopback interface

2012-09-06 Thread Daniel Bidwell
We use routable addresses on loopback devices when we have a pool of servers all answering to the same (Service) IP address to do some service with load balancing with the Linux Virtual Server load balancing. The LVS server answers for the (Service )IP address and then forwards the packet via mac

Re: cfengine doesn't define class with the IPs of the loopback interface

2012-09-06 Thread Jesse Becker
It's useful for /dev/null'ing traffic on occasion, and testing purposes. But it's strange in a production environment... Maybe some sort of HA thing? On Thu, Sep 06, 2012 at 05:08:42PM -0400, Diego Zamboni wrote: >Aliaksei, > >Honestly, I had never heard of a loopback interface being assigned a r

Re: cfengine doesn't define class with the IPs of the loopback interface

2012-09-06 Thread Diego Zamboni
Aliaksei, Honestly, I had never heard of a loopback interface being assigned a routable IP address. I guess this is why CFEngine ignores it when collecting information about the system. This seems to be hardcoded behavior, don't know how easy it would be to change. --Diego On Sep 3, 2012, at

CFEngine Help: Re: Bind serial number

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Bind serial number Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,27164,27234#msg-27234 LIke Nick already said, it all depends on how the policy that manages the zone files is implemented, as this is not a native feature of CFEngine. Can yo

CFEngine Help: Re: [ANNOUNCE] Mantis -> Redmine

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: Re: [ANNOUNCE] Mantis -> Redmine Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27043,27233#msg-27233 It would be helpful if Redmine had a project for the free 25 host Enterprise product. ___ Help

CFEngine Help: empty cfnew files left around

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: empty cfnew files left around Author: skolpatrol Link to topic: https://cfengine.com/forum/read.php?3,27230,27230#msg-27230 Why are these 0 byte files left around? /etc/logrotate.conf.cfnew /etc/resolv.conf.cfnew .. and about ~10 more files on every system. If you

CFEngine Help: Re: How-to insert multi line string at the top of file ?

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: Re: How-to insert multi line string at the top of file ? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27226,27229#msg-27229 Generally, I do not recommend promising only a portion of a file. It is not convergent. It does not promise that

CFEngine Help: Re: How-to insert multi line string at the top of file ?

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: Re: How-to insert multi line string at the top of file ? Author: juriskrumins Link to topic: https://cfengine.com/forum/read.php?3,27226,27228#msg-27228 But you've left the next paragraph: What was probably intended was to add multiple ordered lines after the marker,

CFEngine Help: Re: How-to insert multi line string at the top of file ?

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: Re: How-to insert multi line string at the top of file ? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27226,27227#msg-27227 "Note, when inserting multiple lines anchored to a particular place in a file, be careful with your intuition. If y

CFEngine Help: How-to insert multi line string at the top of file ?

2012-09-06 Thread no-reply
Forum: CFEngine Help Subject: How-to insert multi line string at the top of file ? Author: juriskrumins Link to topic: https://cfengine.com/forum/read.php?3,27226,27226#msg-27226 My intent is to insert multi line string at the top of the file. So I've written following policy: ... "banner_nums