From 879ddefbdf9211167795b40cd9676bce0f1a5563 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Thu, 11 Jun 2015 11:06:24 +0200 Subject: [PATCH] added second example for additional rsync options --- cdist/conf/type/__rsync/man.text | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cdist/conf/type/__rsync/man.text b/cdist/conf/type/__rsync/man.text index 0079a1c6..b5b287e9 100644 --- a/cdist/conf/type/__rsync/man.text +++ b/cdist/conf/type/__rsync/man.text @@ -85,6 +85,12 @@ __rsync /tmp/testdir \ --source /etc \ --rsync-opts exclude=sshd_conf +# Use rsync with multiple options --exclude --dry-run +__rsync /tmp/testing \ + --source /home/tester \ + --rsync-opts exclude=id_rsa \ + --rsync-opts dry-run + --------------------------------------------------------------------------------