Re: Cfengine Help: 3.0.2 too old?

2011-02-03 Thread Aleksey Tsalolikhin
Hi, pettai. I saw your question earlier, is 3.0.2 too old. The forum and list are gatewayed; they are two sides of the same coin. Why don't you try 3.1.4; if that makes your problem go away, then yes, 3.0.2 is too old. =) Generally speaking, Cfengine 3 is under active development so if you're

Cfengine Help: Re: Should getindices provide the same order every time?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Should getindices provide the same order every time? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,20408,20440#msg-20440 Ah, so it is! I'll be done with this thread now. Its making me feel dumb. Haha __

Cfengine Help: Re: Delete_lines processed, but not insert_lines?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Delete_lines processed, but not insert_lines? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,20432,20439#msg-20439 Thanks Seva! Your example makes sense. ___ Help-cfengine mailing list Help-cf

Re: Cfengine Help: Cfengine 3.1.4 is released

2011-02-03 Thread Aleksey Tsalolikhin
On Thu, Feb 3, 2011 at 8:41 AM, Richard Siddall wrote: > > > Should we actually have the binaries in /usr (to follow RPM conventions) > and symlinks from /var/cfengine/bin (since that's where cfengine > conventions would put them)?  Or has Mark issued a policy statement > about whether the communi

Cfengine Help: Re: Should getindices provide the same order every time?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Should getindices provide the same order every time? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,20408,20438#msg-20438 Why, thank you :) Glad you find it useful. ___ Help-cfengine mailing list

Cfengine Help: Re: Delete_lines processed, but not insert_lines?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Delete_lines processed, but not insert_lines? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,20432,20437#msg-20437 Perhaps, it covers just files filled from scratch? Could you please check and possible extend it onto the file editing

Re: Cfengine Help: Re: allowconntect, trustkeysfrom and admit syntax

2011-02-03 Thread Erik Mouw
On Feb 3, 2011, at 14:44, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: allowconntect, trustkeysfrom and admit syntax > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,20425,20428#msg-20428 > > There is some debate that this may fix the authenticati

Cfengine Help: Re: Delete_lines processed, but not insert_lines?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Delete_lines processed, but not insert_lines? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20432,20436#msg-20436 I do recall adding that lock some time ago: snprintf(lockname,CF_BUFSIZE-1,"fileedit-%s",pp->promiser); thislock = AcquireLock(lo

Cfengine Help: Re: Delete_lines processed, but not insert_lines?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Delete_lines processed, but not insert_lines? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,20432,20434#msg-20434 mark Wrote: --- > If this is only one host, what makes you suspect

Re: Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread Frans Lawaetz
> The promise is to edit a plain file at a specific location. Editing a file > after following a symlink is not the same thing to the agent. I think you'll > need a separate promise for the other location. Or place the file in the > same location everywhere and add a link afterward. > It's

Cfengine Help: Re: Delete_lines processed, but not insert_lines?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Delete_lines processed, but not insert_lines? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20432,20433#msg-20433 If this is only one host, what makes you suspect something wrong with Cfengine? ___ H

Cfengine Help: Delete_lines processed, but not insert_lines?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Delete_lines processed, but not insert_lines? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,20432,20432#msg-20432 Today one of my v3.1.4 linux hosts decided to foul up the resolv.conf promise. The resulting file did not have any nameserver

Re: Cfengine Help: Cfengine 3.1.4 is released

2011-02-03 Thread Richard Siddall
Frans Lawaetz wrote: > I see your point however this is the existing behavior of the community > RPMs. > > # rpm -ql cfengine-community | grep -c /usr/local > 247 > > If nothing else I would appreciate having the post-install logic ensure that > binaries are successfully placed in /var/cfengine/bin

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: Norbert Link to topic: https://cfengine.com/forum/read.php?3,20423,20431#msg-20431 Yes that's correct. I have such bundles too, but in this case are all the systems "solaris 5.10" (including sparc and x86). So that's not applicable

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20423,20430#msg-20430 There must be a way to know the file location based on the OS type, version or flavour. For instance I have to account for the various locations

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: Norbert Link to topic: https://cfengine.com/forum/read.php?3,20423,20429#msg-20429 Hm ... ok, than i have a real Problem. The real file can be on numerous locations, only the "/etc/xyz.conf" is fixed. Is there no other way ? Or is t

Cfengine Help: Re: allowconntect, trustkeysfrom and admit syntax

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: allowconntect, trustkeysfrom and admit syntax Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20425,20428#msg-20428 There is some debate that this may fix the authentication problem that I've been having. Someone claimed that doing this

Cfengine Help: Re: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: edit_line on a symlink Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20423,20427#msg-20427 The promise is to edit a plain file at a specific location. Editing a file after following a symlink is not the same thing to the agent. I thin

Cfengine Help: Re: allowconntect, trustkeysfrom and admit syntax

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: allowconntect, trustkeysfrom and admit syntax Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20425,20426#msg-20426 you should never need to use the IPv4 over IPv6 prefix ":::" - cfengine does that mapping automatically

Cfengine Help: allowconntect, trustkeysfrom and admit syntax

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: allowconntect, trustkeysfrom and admit syntax Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20425,20425#msg-20425 Should allowconnect, trustkeysfrom and admit allow the same syntax? I did have notation like 10.10.10.0/24 in all of them and

Cfengine Help: Re: Should getindices provide the same order every time?

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Should getindices provide the same order every time? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,20408,20424#msg-20424 I think what I'm going to do is make use of Diego's brilliant set_variable_values bundle instead of using getindice

Cfengine Help: edit_line on a symlink

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: edit_line on a symlink Author: Norbert Link to topic: https://cfengine.com/forum/read.php?3,20423,20423#msg-20423 Hi all I'm using 3.0.5p1 and have the following problem. I'd like to edit a file, but this file may is a plain file or a symlink. Editing of a plain fil

Cfengine Help: Re: Cfengine 3.1.4 and replace_patterns

2011-02-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.4 and replace_patterns Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20414,20422#msg-20422 Hi, Neil: I tried with a simple one but it was too simple being non-convergent. :-( I really have to get into the habit using t

Re: [Cf2] Saving copies of files erased with tidy?

2011-02-03 Thread Bas van der Vlies
On 2 feb 2011, at 22:34, Paul Krizak wrote: > Yes I know I know -- cf2...we're working on it, but hear me out. > > Does anybody know if there is a way to convince tidy actions to move > files into the repository location rather than just unlinking? The > documentation doesn't mention anything