According to the debug output this does not parse correctly: samba_is_setup = ( ReturnsZero(/bin/sh -c 'test -f /usr/local/lib/samba/var/runflag.$(host) || test -f /usr/local/lib/samba/var/runflag.$(fqhost)') )
The problem appears to be that the ReturnsZero is declared to end at the first ) character. Using {} braces instead for the variables fixes the problem. -- Joe Buehler _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine