Forum: Cfengine Help
Subject: Wildcard in files stanza on copy
Author: kholloway
Link to topic: https://cfengine.com/forum/read.php?3,17887,17887#msg-17887

All,
 I'm trying to do a file copy where part of the directory base has an unknown 
nodename in it, see example below.
My test as shown below produces and actual directory with the .* portion in it 
instead of going into existing directories.
Variable and path names below have been change to protect the innocent..
The .* portion is a unknown node number as in node11 and is different per 
node/system.

Any suggestions since this clearly does not do what I want..

CFEngine community 3.0.5p1 (Solaris).

files:
        myclass::
               "/opt/mydir/mysubdir/.*/moresubdirs/myrealdir/my_real_file"
                   copy_from => secure_cp("proper_source","my_cf3_server");

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to