Hello,

I'm trying to define some classes in the following way:

classes:

    any::

       sys_server = ( FileExists( /etc/passwd ) )

which, as expected, fails misserably. However this:

classes:

    any::

        sys_server = ( `/usr/bin/test -f /etc/passwd` )

works without a hitch.

This is the case on both a Red Hat Enterprise Linux WS release 4 (Nahant Update 2) running cfengine-2.1.15-1.2.el4.rf and Fedora Core release 3 (Heidelberg) running cfengine-2.1.16-2.fc3.

I assume I'm making an obviouse mistake but before taking out the five black candles and live chicken I'd like to know which one.


best regards,

              John van Zantvoort
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to