[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Broken?: class = ( FileExists(${variable}) )
From: |
Andreas J. Koenig |
Subject: |
Broken?: class = ( FileExists(${variable}) ) |
Date: |
Wed, 28 Dec 2005 10:27:16 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
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,
--
andreas
- Broken?: class = ( FileExists(${variable}) ),
Andreas J. Koenig <=