Cfengine Help: Re: purge empties directory when unable to connect

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: purge empties directory when unable to connect Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17647,17648#msg-17648 I know specifically of code to prevent this from happening. Purging is not allowed if a connection is not made. If you think it

Cfengine Help: purge empties directory when unable to connect

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: purge empties directory when unable to connect Author: pieterb Link to topic: https://cfengine.com/forum/read.php?3,17647,17647#msg-17647 It seems that enabling the purge => true option in a copy_from promise results in cfengine emptying the complete directory if the

Cfengine Help: Re: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent ignores max_children parameter Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17639,17646#msg-17646 Excellent Seva, thanks for pointing out this omission. I've patched the code. ___ Help-c

Cfengine Help: Re: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent strange behaviour with -s option Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17638,17645#msg-17645 Neil, the -s option defines classes for local usage, not to be sent remotely. Anyway, it seems to follow the same prin

Cfengine Help: Re: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent strange behaviour with -s option Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17638,17644#msg-17644 I seem to recall that in cf2 options that were to go to the remote agent were on the right of the hostname. IIRC then this

Cfengine Help: Re: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent strange behaviour with -s option Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17638,17643#msg-17643 For those who might be interested, it seems like the arguments parser goes wrong somehow. Reordering command line fixes

Cfengine Help: Re: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent ignores max_children parameter Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17639,17642#msg-17642 Well, so that I suggest you the following patch which is proven to be working in my environment: --- src/runagent.c.orig

Cfengine Help: Re: Simple File Edits

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Simple File Edits Author: AS5C0TT Link to topic: https://cfengine.com/forum/read.php?3,17636,17641#msg-17641 Definitely think the COPBL has the stuff you need. Take a look at http://www.cfengine.org/manuals/cf3-solutions.html#Add-users-to-passwd-and-group It w

Cfengine Help: Re: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-runagent ignores max_children parameter Author: mark Link to topic: https://cfengine.com/forum/read.php?3,17639,17640#msg-17640 Very little work has gone into cf-runagent because it is mainly used for testing. The bottom line is that if you have 200 machines,

Cfengine Help: cf-runagent ignores max_children parameter

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: cf-runagent ignores max_children parameter Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17639,17639#msg-17639 Tryin' to parallelize cf-runagent invocation for relatively big cluster (200+ items), I've figured out that any numbers in ma

Cfengine Help: cf-runagent strange behaviour with -s option

2010-07-06 Thread no-reply
Forum: Cfengine Help Subject: cf-runagent strange behaviour with -s option Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17638,17638#msg-17638 Hello folks, I'm invoking cf-runagent as follows: /var/cfengine/bin/cf-runagent -s urgent -H test.host.local The result i