bug-cfengine
[Top][All Lists]
Advanced

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

Copy with filter


From: Iain Morgan
Subject: Copy with filter
Date: Fri, 16 Feb 2001 11:51:49 -0800 (PST)

Hi,

Has anyone had any success using the filter option in a copy with cfengine
v1.6.2?  The documentation indicates that copy supports filter, but it
is not handled in the switch statement in the HandleOptionalImageAttribute()
of image.c.

For example:

filter:
    { plain_files
    Type:       "reg"
    Result:     "Type"
    }

copy:
    any::
        $(data_specific)/$(os_arch)/usr/prg/pkg/ssh dest=/usr/prg/pkg/ssh
        recurse=inf filter=plain_files

yields the following output:

cf:nopython:/r/fs5/wks/cfengine/wks/cfengine.new:586: Illegal copy attribute 
cfengine:nopython::Execution terminated after parsing due to errors in program
nopython.root 185> 


--
Iain Morgan
NAS Desktop Support Group




reply via email to

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