ruisse...@gmail.com
unread,May 3, 2013, 10:57:04 AM5/3/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to help-c...@googlegroups.com
Hi I want to sync ( like rsync --delete) the following directory:
"/etc/autofs.d"
copy_from => u_cp("$(sys.workdir)/sourcefiles/etc/autofs.d"),
# depth_search => recurse("1"),
depth_search => recurse_ignore("inf",".svn"),
# file_select => all,
file_select => by_name(".*"),
delete => tidy,
perms => mog("644","root","root"),
classes => if_repaired("restart_autofs");
I got the following:
!! Promise constraint conflicts - /etc/autofs.d cannot be deleted and exist at the same time
Files that dont'exist in $(sys.workdir)/sourcefiles/etc/autofs.d should be deleted in /etc/autofs.d .
All other files should be copied.
Any help is welcome!