cfengine - copy directories
I have been using cfengine for a few years and its great. The one problem I have with it is copying entire directories. normally I have to add each file individually like this to the cf.input file:
redhat.ipv4_192_168_9:: # IT segment
${dist}/etc/yp.conf
dest=/etc/yp.conf
mode=0444
owner=root
group=root
define=reload_ypbind_config
server=${cfmaster}
encrypt=true
I now want to distribute my Nagios client which is a directory filled with 50 files and subdirectories.
Is there a way to tell cfengine to copy the directory and its contents in it entirety without specifying each one?
|