Table of Contents
cdist-dir either pushes a local directory to the target host or pulls a remote directory from a target host to the local host.
In the push case SRC_DIR is local, in the pull case remote. In the push case DST_DIR is remote, in the pull case local.
cdist-dir does not cleanup DST_DIR and thus it may contain old stuff if used multiple times.
cdist-dir does not rely on rsync or other high level tools, because it cannot expect its existence on the local or target host.