From c5220c6efb0ae15739c9a78f45a828b19435e31c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 16 Aug 2010 16:50:24 -0300 Subject: Right now just local origin and remote destination is supported --- manifests/rsync.pp | 1 + templates/rsync.conf.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 %> <%- -- cgit v1.2.3