help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ReturnsZero problem


From: Zeev Fisher
Subject: ReturnsZero problem
Date: Sun, 06 Feb 2005 14:29:30 +0200

Hi,

I'm trying to evaluate a classes with the following ReturnsZero :

Ldap_Ok = ( ReturnsZero(/usr/lib/ldap/ldap_cachemgr -g|/usr/bin/grep UP)
)


when i run this command on Solaris machine (
i.e./usr/lib/ldap/ldap_cachemgr -g|/usr/bin/grep UP)  it's ok but when i
run cfagent -p -v :

Looking for an input file cf.groups.solaris
/usr/lib/ldap/ldap_cachemgr: illegal option -- |
/usr/lib/ldap/ldap_cachemgr: illegal option -- /
/usr/lib/ldap/ldap_cachemgr: illegal option -- u
/usr/lib/ldap/ldap_cachemgr: illegal option -- s
Usage: /usr/lib/ldap/ldap_cachemgr [-d debug_level] [-l logfilename]
        [-K] [-r revalidate_interval]   [-g]

It seems that ReturnsZero doesn't like the pipe.

I didn't find in the doc any restriction about this.


Is it bug or it supposed to be like this ?


Thanks !









-- 
Zeev Fisher - Unix System Administrator
Marvell Semiconductor Israel Ltd
6 Hamada Street, Mordot HaCarmel Industrial Park
Yokneam 20692
Israel
 
Email    -  address@hidden
Tel      -  + 972 4 9091402
Cell     -  + 972 54 4995402
Fax      -  + 972 4 9091501
WWW Page:     http://www.marvell.com
------------------------------------------------------------------------
This message may contain confidential, proprietary or legally privileged
information. The information is intended only for the use of the individual
or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us
immediately by telephone, or by e-mail and delete the message from your
computer.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]