bug-cfengine
[Top][All Lists]
Advanced

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

import in cfd.conf?


From: Stuart Bishop
Subject: import in cfd.conf?
Date: Fri, 10 Nov 2000 17:52:36 +1100

Hi.

I've been trying to use the 'import' statement in my cfd.conf file.

The documentation says it is possible, but I've just noticed that it is for
1.6 whereas I am running 1.5.4. So now I try again with 1.6.0.a13, and am
now getting wierdness. The import commands suceed, but I'm unable to use
variables defined in the included
file in my admit: section

The following fails with an error 'Missing absolute path to a directory'.

import:
    globals.cf
control:
    cfrunCommand = ( "$(cfengine_bin)/cfengine" )
admit:
    $(cfrunCommand)    *.mydomain

However, if I cut'n'paste globals.cf in, it works:

control:
    cfengine_path       = ( "/opt/local/cfengine-1.6.0.a13" )
    cfengine_bin        = ( "$(cfengine_path)/sbin" )

    cfrunCommand = ( "$(cfengine_bin)/cfengine" )
admit:
    $(cfrunCommand)    *.mydomain

Is this a bug or user error?

And while I'm here, it would be worth not trying to build the documentation
.dvi files by default for those of us who don't have the required tools
installed.






reply via email to

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