Cfengine Help: Re: Cfengine in system configuration files

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine in system configuration files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21441,21446#msg-21446 Editing promises perform the edit in RAM during each invocation of cf-agent. If the resulting file in RAM does not match the

Cfengine Help: Re: Cfengine in system configuration files

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine in system configuration files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21441,21443#msg-21443 I don't think we can have multiple edit_line attributes for a promiser like cfengine2. In cfengine3, you should eithe

Re: Cfengine in system configuration files

2011-04-13 Thread Eystein Måløy Stenberg
Hi Scott, Welcome to the world of Cfengine! Cfengine should not write a file unless the result of all operations on it makes it different to the current version of it. The verbose print just shows what is being done to construct an internal representation of it. To check that the file does not ge

Cfengine in system configuration files

2011-04-13 Thread Scott Dobner
Hi all, I just recently started using CFEngine 3 and was wondering what the best practice for constructing system configuration files (e.g., /etc/resolv.conf) is. Right now I am just adding and deleting lines from the file, but it seems to execute with every run of cf-execd. On the other hand,