CFEngine Help: Re: cannot use cfengine3 mode in Emacs 23

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: cannot use cfengine3 mode in Emacs 23 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,23897,24107#msg-24107 Bill, the latest version from Ted was committed to the CFEngine svn repository, you can view and download it here: http://source.cfe

CFEngine Help: Re: An advanced policy using template and variable substitution

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: An advanced policy using template and variable substitution Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24105,24106#msg-24106 Very nice Mike, thanks for sharing. ___ Help-cfengine mailing list

CFEngine Help: An advanced policy using template and variable substitution

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: An advanced policy using template and variable substitution Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,24105,24105#msg-24105 So, I ran into an issue where /etc/sysctl.conf at our organization was getting out of control. Using

CFEngine Help: Re: How to remove a string from an slist based off of a class.

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: How to remove a string from an slist based off of a class. Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,23646,24104#msg-24104 +1 The negative lookahead using grep is counter intuitive. I think we need three new functions.

CFEngine Help: Re: cannot use cfengine3 mode in Emacs 23

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: cannot use cfengine3 mode in Emacs 23 Author: bmarsh Link to topic: https://cfengine.com/forum/read.php?3,23897,24103#msg-24103 I just signed up for the cfengine discussion list. Using the interface at cfengine.com I don't see the attachments, but I pulled an att

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24079,24102#msg-24102 I find that Cfengine is like calculus. You either get it right away or your head explodes. After the explosion you try again. _

CFEngine Help: Restarting processes based on mtime of non-Cfengine-managed files?

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Restarting processes based on mtime of non-Cfengine-managed files? Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,24100,24100#msg-24100 Does anyone have examples of restarting processes if they have been running longer than the last modified time

Re: CFEngine Help: Re: putting cfengine mailing list on Gmane?

2011-11-29 Thread Ted Zlatanov
On Wed, 23 Nov 2011 15:45:24 +0100 (CET) no-re...@cfengine.com wrote: n> Forum: CFEngine Help n> Subject: Re: putting cfengine mailing list on Gmane? n> Author: zzamboni n> Link to topic: https://cfengine.com/forum/read.php?3,23979,24049#msg-24049 n> List archiving has resumed under http://dir.

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24098#msg-24098 Hello Neil, Thanks for responding. It is like being a blind man gaining his sight...I see what you are saying! I ran cf-agent to test the validi

Re: CFEngine Help: Re: How to remove a string from an slist based off of a class.

2011-11-29 Thread Ted Zlatanov
On Mon, 31 Oct 2011 10:09:37 -0500 Ted Zlatanov wrote: TZ> On Fri, 30 Sep 2011 19:00:28 +0200 (CEST) neilhwatson wrote: n> No, use a negative regular expression. Match things that are not 'Two'. TZ> There are regular expressions that can't be practically inverted, and TZ> even simple ones loo

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24079,24097#msg-24097 Jim, Perhaps review the documentation. Cfengine is a client server application. The client (cf-agent) reads the policies, locally on the client

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24096#msg-24096 Hello Diego, Yes, if I am running the policy on one of the the servers in the class (in this case it is the policy server), then the "context" is

CFEngine Help: On persistent classes

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: On persistent classes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24095,24095#msg-24095 Persisting a class seems to be tied to a classes body. Suppose I want to persist a class defined in a classes section instead. Is this possible? __

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24079,24094#msg-24094 Jim, Are you running the policy in one of the two machines defined in your classes (myhost1 or myhost2)? Try running cf-agent with the -V option and

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24093#msg-24093 I guess I should explain more... if classes: "my_class" or => { "myhost1", "myhost4" }; and myhost4 is the policy server - the class is accepted.

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24091#msg-24091 Ok, I think I have a "HINT" at the problem...but, what am I missing... The classes pass...if the policy server is part of the class?!?! If the pol

Re: CFEngine Help: Re: downsizing a huge policy file, sensibly

2011-11-29 Thread Marco Marongiu
Hi David I tried to work out something based on your advice, but it seems I can't make it work. My idea was: - load a policy file called ntp.cf, always, and a location specific one, say ntp_x.cf for location x; - in ntp_x.cf, define an array which will hold values depending on the machine being

Re: cannot use cfengine3 mode in Emacs 23

2011-11-29 Thread Ted Zlatanov
On Mon, 28 Nov 2011 17:21:06 +0100 Marco Marongiu wrote: MM> I've just done a quick test, and things seem to work smoothly (GNU Emacs MM> 23.1.1 running on Ubuntu Linux 10.04 LTS) On Mon, 28 Nov 2011 17:24:29 +0100 Marco Marongiu wrote: MM> Forget that :( MM> As I load the mode using M-x

Re: cannot use cfengine3 mode in Emacs 23

2011-11-29 Thread Marco Marongiu
Il 28/11/2011 17:24, Marco Marongiu ha scritto: > As I load the mode using M-x cfengine3-mode, the font highlighting is a > bit crapped, and I get this message: > > Error during redisplay: (void-variable font-lock-constant-name-face) [4 > times] Add: indentation refers to curly braces only. So i