Re: classes visibility in edit_template?

2012-07-02 Thread Riccardo Murri
On Mon, Jul 2, 2012 at 2:31 PM, Mark Burgess wrote: > Ah, that sounds like a bug/unanticipated issue. Please file a report. Done: issue 1208. For the record, I've found a workaround: 1- instead of defining classes in the `classes:` section, call a bundle of type "common" from `methods:` to defi

classes visibility in edit_template?

2012-07-02 Thread Riccardo Murri
Hello, I'm trying to use `edit_template` to generate a configuration file from a bundle; however, conditionals based on classes defined in the bundle are apparently ignored (i.e., the class expression evaluates to "!any"). I guess that CFEngine does not export bundle-local classes to the templati

Re: [ANNOUNCE] CFEngine Community 3.3.4 is released

2012-06-27 Thread Riccardo Murri
Hello, On Thu, Jun 21, 2012 at 10:50 AM, Mikhail Gusarov wrote: > CFEngine Community 3.3.4 is now available for download. Thanks a lot for the new release! However, the download page on the CFengine.com website requires me to manually click on every single OS/architecture that I need to support

Re: when/how is masterfiles/cf_promises_validated updated?

2012-06-21 Thread Riccardo Murri
Hi Ted, On Thu, Jun 21, 2012 at 3:02 PM, Ted Zlatanov wrote: > On Thu, 21 Jun 2012 14:17:53 +0200 Riccardo Murri > wrote: > > RM> Would it be sensible to add a command-line switch to `cf-promises` to > RM> force update of `masterfiles/cf_promises_validated` ? > > Wo

Re: when/how is masterfiles/cf_promises_validated updated?

2012-06-21 Thread Riccardo Murri
Hello, On Thu, Jun 21, 2012 at 1:23 PM, Neil Watson wrote: > On Thu, Jun 21, 2012 at 01:08:10PM +0200, Mark Burgess wrote: >> >>  Cf-promises updates this when it executes successfully. > > I think that this only happens when called via cf-execd. > > ettin:/var/cfengine/masterfiles# rm cf_promise

when/how is masterfiles/cf_promises_validated updated?

2012-06-21 Thread Riccardo Murri
Hello, I see that the stock `failsafe.cf` bundled with CFEngine Community updates the input files on the client only when `masterfiles/cf_promises_validated` on the server is updated. I also see that `masterfiles/cf_promises_validated` is periodically updated on the server by some CFEngine compon