help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping up with the distros....


From: Jim Wight
Subject: Re: Keeping up with the distros....
Date: Thu, 13 Jan 2005 09:35:55 +0000

On Wed, 2005-01-12 at 17:31, Wil Cooley wrote:
> On 2005-01-12, Christian Pearce <pearcec@perfectorder.com> wrote:
> > On Tue, 2005-01-11 at 10:50, David Douthitt wrote:
> >> So a cfengine configuration file would spell out what is to be found in
> >> /etc/redhat-release - or whatever it is.
> >
> > Interesting.  We would have to implement our own version of this though
> > right?
> 
> The idea I had was to implement this in a module, but I discovered that
> modules are processed too late in the game to be generally useful.

What about PrepModule? Would it not be early enough?

PrepModule(module,arg1 arg2...)
        True if the named module exists and can be executed. The module
        is assumed to follow the standard programming interface for
        modules (see Writing plugin modules in tutorial). Unlike
        actionsequence modules, these modules are evaluated immediately
        on parsing. Note that the module should be specified relative to
        the authorized module directory.
        
Jim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]