[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken?: class = ( FileExists(${variable}) )
From: |
Mark Burgess |
Subject: |
Re: Broken?: class = ( FileExists(${variable}) ) |
Date: |
Wed, 28 Dec 2005 11:16:04 +0100 |
Ah, thank you. A simple typo. 2.1.18 out today. This fix inxluded.
M
On Wed, 2005-12-28 at 10:27 +0100, Andreas J. Koenig wrote:
> At some point in time between 2.1.14 and 2.1.17 the following test.cf
> file stopped working.
>
> Both Debian's 2.1.17-1 and the self-compiled version from subversion
> revision 174 print "/etc/passwd NOT exists".
>
> Debian's 2.1.14-1sarge1 prints "/etc/passwd exists".
>
> Here is the file:
> ---------test.cf--------
> control:
>
> actionsequence = ( shellcommands )
> wcbk = ( /etc/passwd )
>
> classes:
>
> wcbkini = ( FileExists(${wcbk}) )
>
> shellcommands:
>
> !wcbkini::
> "/bin/echo ${wcbk} NOT exists"
>
> wcbkini::
> "/bin/echo ${wcbk} exists"
> --------EOF--------
>
> I have tested with 'cfagent -f `pwd`/test.cf -d 3'. Please let me know
> if you need further evidence.
>
>
> Thanks,