Commit c5220c6e authored by Silvio Rhatto's avatar Silvio Rhatto

Right now just local origin and remote destination is supported

parent 06b5fbe3
# 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,
......
......@@ -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 %>
<%-
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment