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
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
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
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
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
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
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