Wrapper for rsync
New in version 2014.1.0.
This data can also be passed into pillar. Options passed into opts will overwrite options passed into pillar.
Return rsync config
CLI Example:
salt '*' rsync.config
Rsync files from src to dst
CLI Example:
salt '*' rsync.rsync {src} {dst} {delete=True} {update=True} {passwordfile=/etc/pass.crt} {exclude=xx}
salt '*' rsync.rsync {src} {dst} {delete=True} {excludefrom=/xx.ini}
Return rsync version
CLI Example:
salt '*' rsync.version
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
Upcoming SaltStack events, webinars and local meet ups and user groups.