help-cfengine
[Top][All Lists]
Advanced

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

ReturnsZero


From: Mike Gabriel
Subject: ReturnsZero
Date: Thu, 26 Aug 2004 18:22:00 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi there,

shouldn't this be working?

groups:

  oezk_spong_hosts_class.debian::

    isSpongNetworkClient = 
( ReturnsZero(/bin/cat /etc/default/spong-client|/bin/egrep 
'^run_network=1$') )
    isSpongServer = 
( ReturnsZero(/bin/cat /etc/default/spong-server|/bin/egrep 
'^run_spong=1$') )

if pipes are not implemented yet, that would be a handy feature...

i circumsailed it by 

  ReturnsZero(/bin/sh -c "/command | /command")

mike

- -- 

network administration, ecology centre, kiel university, germany
Mike Gabriel, olshausenstr 75, 24118 kiel, germany

fon-work: +49 431 880-1186
fon-home: +49 431 6474196
mail: mgabriel@ecology.uni-kiel.de
www: http://www.ecology.uni-kiel.de, http://zope.ecology.uni-kiel.de
     
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBLg4opoJgRMI6HfERAourAJ9YS1uX5bSyqZI2Z7/SFPc3xJlQ2QCfcima
TplZeT/VR5eOFMgW8JCCSgw=
=vNjZ
-----END PGP SIGNATURE-----




reply via email to

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