On Fri, 2005-09-23 at 06:20, [EMAIL PROTECTED] wrote:
> control:
>addinstallable = ( sl3 )
>actionsequence = ( ... shellcommands )
> classes:
>sl3 = ( PrepModule(HasSL,"noargs") )
> import:
>sl3:: sl3.conf
> [in sl3.conf...]
> shellcommands:
>sl3:: "/bin/echo hallo from sl
On Fri, 2005-09-23 at 06:20, [EMAIL PROTECTED] wrote:
>sl3 = ( PrepModule(HasSL,"noargs") )
By the way, for PrepModule, the class is "True if the named module
exists and can be executed."
(http://www.cfengine.org/docs/cfengine-Reference.html#index-PrepModule-3)
This in itself seems kind of u
> From: "Martin, Jason H"
> If you are having problems with your module's classes and actions being
> set too late, try putting it in a PrepModule line. That causes it to
> happen at parse time.
I have the module HasSL which returns +sl3 on ScientificLinux
3.x boxes and...
control:
addi
On Wed, 21 Sep 2005 [EMAIL PROTECTED] wrote:
> I was thinking of writing a module that would parse the output of 'showrev
> -p',
> determine the latest rev and then for each patch print out:
>
> =patch_=
>
> For example:
>
> =patch_118558=3
>
> Numerical comparisons could then be used to deter
artin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 3:50 PM
To: [EMAIL PROTECTED]
Cc: Help-cfengine@gnu.org
Subject: Re: module macros are expanded too late - was Determining
Solaris patch revisions
Hi Rader,
Sh
elson
[EMAIL PROTECTED]
09/21/2005 09:18 AM
To
"David E. Nelson" <[EMAIL PROTECTED]>
cc
Help-cfengine@gnu.org
Subject
Re: Determining Solaris patch revisions
> I was thinking of writing a module that would parse the output of
'showrev
> -p',
> I was thinking of writing a module that would parse the output of 'showrev
> -p',
> determine the latest rev and then for each patch print out:
>
> =patch_=
>
> For example:
>
> =patch_118558=3
>
> Numerical comparisons could then be used to determin if a rev was equal,
> grea
Hi All,
I was thinking of writing a module that would parse the output of 'showrev -p',
determine the latest rev and then for each patch print out:
=patch_=
For example:
=patch_118558=3
Numerical comparisons could then be used to determin if a rev was equal,
greater, or less than.
Any o