Re: Config file where order matters

2012-04-18 Thread Nick Anderson
On 04/18/2012 02:13 PM, Aleksey Tsalolikhin wrote: > Not that I've seen. Great idea. Could you please ask for it? https://cfengine.com/bugtracker/view.php?id=1079 -- Nick Anderson ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfe

Re: Config file where order matters

2012-04-18 Thread Aleksey Tsalolikhin
On Tue, Apr 17, 2012 at 7:55 PM, Nick Anderson wrote: > > Oh, it would be cool to have access to $(this.comment) so that a > cfengine comment could be used inside the promise itself. Is there a > feature request for that yet? Not that I've seen. Great idea. Could you please ask for it? > Alek

Re: Config file where order matters

2012-04-17 Thread Nick Anderson
On 04/17/2012 09:39 PM, Aleksey Tsalolikhin wrote: > It might be useful to put that comment into the line itself so you can also > see it from the command line when logged into the server. > > I do something similar with my iptables config file, insert the comments > as iptables comments (using th

Re: Config file where order matters

2012-04-17 Thread Aleksey Tsalolikhin
On Tue, Apr 3, 2012 at 8:51 AM, Nick Anderson wrote: > > I prefer to express each line as an individual promise so that I can > have a comment in the policy about why that access rule was inserted, > but I am having trouble thinking of a way to do that and preserve order. It might be useful to pu

CFEngine Help: Re: CFEngine Help: Re: Config file where order matters

2012-04-04 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Config file where order matters Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25449,25474#msg-25474 It's drifting off topic, but... I don't use the .d include with sudoers for a couple of reasons. I'm worki

Re: CFEngine Help: Re: Config file where order matters

2012-04-04 Thread Ted Zlatanov
On Tue, 3 Apr 2012 20:45:08 +0200 (CEST) sauer wrote: n> I've been working on this for sudoers, where later entries override n> earlier entries. The way I'm currently doing it is to have a n> directory full of small templates which start with a number. It looks n> like the new lsdir function w

CFEngine Help: Re: Config file where order matters

2012-04-03 Thread no-reply
Forum: CFEngine Help Subject: Re: Config file where order matters Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25449,25455#msg-25455 I've been working on this for sudoers, where later entries override earlier entries. The way I'm currently doing it is to have a