Another thought would be to add a third true/false parameter to the copy
bodies in library.cf or to add new ones to enable backups. So either:

body secure_cp(from, server, backup)
body remote_cp(from, server, backup)
body local_cp(from, backup)

or new ones, perhaps like this:

body secure_cp_with_backup(from, server)
body remote_cp_with_backup(from, server)
body local_cp_with_backup(from, backup)

My preference would be for the first option, for the simplicity, but
I've gone with the second for now to avoid conflicts with existing uses
of the *_cp bodies. 

Justin


This electronic communication and any attachments may contain confidential and 
proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an 
agent or employee 
responsible for delivering this communication to the intended recipient, or if 
you have received 
this communication in error, please do not print, copy, retransmit, disseminate 
or 
otherwise use the information. Please indicate to the sender that you have 
received this 
communication in error, and delete the copy you received. DigitalGlobe reserves 
the 
right to monitor any electronic communication sent or received by its 
employees, agents 
or representatives.

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

Reply via email to