help-cfengine
[Top][All Lists]
Advanced

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

macro expansion in editfiles file path


From: Wheeler, John
Subject: macro expansion in editfiles file path
Date: Thu, 13 Nov 2003 22:59:05 -0600

I seem to be having trouble using a macro in a filename for editfiles.

 

control:

 

actionsequene = ( editfiles )

blah = ( ifcfg-eth0 )

 

editfiles:

            { /etc/sysconfig/network-scripts/${blah}

 

                        do stuff to the file

 

            }

 

 

always complains that etc/sysconfig/network-scripts/${blah} doesn’t exist… which of course it doesn’t.

 

shouldn’t this work?

 

 

 


reply via email to

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