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

2011-12-09 Thread Marco Marongiu
Il 05/12/2011 16:33, Marco Marongiu ha scritto: > Let's see what I can turn up with with your suggestions. OK, I seem to have made it. It was hard, damn how it was. We should really meditate on this. Having a common block of reusable code should be far easier than this... Here's a summary of how

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

2011-12-05 Thread Marco Marongiu
Thanks for all the answers. I was supposed to work on this today, but I haven't started yet due to a runaway meeting :-D Let's see what I can turn up with with your suggestions. Thanks a lot again -- bronto ___ Help-cfengine mailing list Help-cfengine

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

2011-12-05 Thread no-reply
Forum: CFEngine Help Subject: Re: downsizing a huge policy file, sensibly Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,24050,24187#msg-24187 David, Marco this is a very helpful strategy. In my implementation I had been including a control class before calling the work

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

2011-11-30 Thread no-reply
Forum: CFEngine Help Subject: Re: downsizing a huge policy file, sensibly Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,24050,24114#msg-24114 Marco: Basically, as Todd says. (Thanks, Todd!). Below is a variant of the last box in my earlier reply, but simplifying the cal

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

2011-11-30 Thread no-reply
Forum: CFEngine Help Subject: Re: downsizing a huge policy file, sensibly Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,24050,24108#msg-24108 Hi marco, to pass a list you need to use list's full qualified name ntp("@(bundle_where_var_is_defined.ntpconf)") or ntp("@(this.nt

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

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

2011-11-23 Thread no-reply
Forum: CFEngine Help Subject: Re: downsizing a huge policy file, sensibly Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,24050,24053#msg-24053 Locally we have several cases where we want to apply different data in different environments but in standard ways. These include