help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine module for querying portage (only useful for gentoo linux)


From: Brendan Strejcek
Subject: Re: cfengine module for querying portage (only useful for gentoo linux)
Date: Mon, 9 Feb 2004 20:53:31 -0600
User-agent: Mutt/1.3.28i

address@hidden wrote:

> Speaking of that, being able to check the return value of a module would
> be very useful...

My modules print strings like:

    +mod_openbsd_chkpkg_success
    +mod_openbsd_chkpkg_error
    =mod_openbsd_chkpkg_error_str=could not fetch pkg-stable.html

That allows constructs like:

alerts:

    mod_openbsd_chkpkg_error::

        "openbsd_chkpkg - error: ${mod_openbsd_chkpkg_error_str}"




reply via email to

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