diff options
-rw-r--r-- | manifests/rsync.pp | 1 | ||||
-rw-r--r-- | templates/rsync.conf.erb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/manifests/rsync.pp b/manifests/rsync.pp index 7d925f2..bcd1d1b 100644 --- a/manifests/rsync.pp +++ b/manifests/rsync.pp @@ -1,5 +1,6 @@ # Run rsync as part of a backupninja run. # Based on backupninja::rdiff +# Right now just local origin and remote destination is supported. define backupninja::rsync( $order = 90, $ensure = present, $user = false, $home = false, $host = false, diff --git a/templates/rsync.conf.erb b/templates/rsync.conf.erb index 8c61fc8..594683c 100644 --- a/templates/rsync.conf.erb +++ b/templates/rsync.conf.erb @@ -12,7 +12,7 @@ end -%> [source] -<%- %w{from host port user testconnect include exclude ssh protocol rsync rssync_options exclude_vserver, numericids, compress, bandwidthlimit, remote_rsync, id_file, batch, batchbase, filelist, filelistbase}.each do |v| +<%- %w{from testconnect include exclude ssh protocol rsync rssync_options exclude_vserver, numericids, compress, bandwidthlimit, remote_rsync, id_file, batch, batchbase, filelist, filelistbase}.each do |v| if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%> <%= v + ' = ' + instance_variable_get("@#{v}").to_s %> <%- |