[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PrepModule
From: |
Chip Seraphine |
Subject: |
Re: PrepModule |
Date: |
Wed, 30 Jun 2004 08:11:47 -0500 |
User-agent: |
KMail/1.5.4 |
Basic error handling. Although you are probably better off having the module
itself setting a 'module_ran_ok' type class before it exits to accomplish
this sort of thing.
On Tuesday 29 June 2004 16:48, Brendan Strejcek wrote:
> My problem was 2.1.6... the lack of default moduledirectory kept
> PrepModule from behaving correctly. 2.1.7 fixed things. On a side note,
> can anyone think of a use for a class like this?
>
> Mark.Burgess@iu.hio.no wrote:
>
> > Manual says:
> >
> > 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.
> >
> >
> > M
> >
> >
> > On 29 Jun, Brendan Strejcek wrote:
> > > What is the point of the LHS in a PrepModule classes statement?
> > >
> > > For example, the reference gives the following example:
> > >
> > > gotinit = ( PrepModule(startup2,"arg1 arg2") )
> > >
> > > When should the class gotinit be defined? The meaning here is unclear.
> > >
> > >
> > > _______________________________________________
> > > Help-cfengine mailing list
> > > Help-cfengine@gnu.org
> > > http://lists.gnu.org/mailman/listinfo/help-cfengine
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
> > Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
--
Chip Seraphine
Unix Administrator
TradeLink, LLC
312-264-2048
chip@trdlnk.com