bug-cfengine
[Top][All Lists]
Advanced

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

Varpath in control not setting variable


From: Adrian Phillips
Subject: Varpath in control not setting variable
Date: 28 May 2002 10:54:25 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Okay, I give up. I've been trying to figure this one out for a couple
of days and I'm stuck :-(

The following is not setting the variable when gds.cfinternal is
true. It sets it okay for gds.!cfinternal though. Note that if cfrep
is replaced by /usr/local/cfengine then it works.

control:
        gds.!cfinternal::
                gds_home = ( /dnmi/gds )
        gds.cfinternal::
                gds_home = ( ${cfrep}/dnmi/gds )

#************************************************************************
#************************************************************************
classes:
        gds_mounted = ( "/bin/sh -c '/bin/mount | grep -q ${gds_home}'" )

${gds_home} never gets defined even though it looks like from the
debug output that control is parsed before classes.

Am I missing something here ?

Sincerely,

Adrian Phillips

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



reply via email to

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