aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 50f2834..3c8014f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -119,23 +119,23 @@ class backup {
backupninja::rsync { "rsync-$title.$domain":
# [general]
ensure => $ensure,
- user => "$hostname",
- host => "$title.$domain",
- format => 'long',
+ installkey => $installkey,
home => "$backupdir/remote/$fqdn",
backupdir => "$backupdir/remote/$fqdn/rsync",
backupkeytype => "dsa",
backupkeystore => "puppet://$server/files/keys",
+ keepdaily => '7',
+ keepweekly => '4',
+ keepmonthly => '3',
+ format => 'long',
# [source]
include => $backup_include_encrypted,
exclude => $backup_exclude_encrypted,
# [dest]
+ user => "$hostname",
+ host => "$title.$domain",
port => $port,
- installkey => $installkey,
- keepdaily => '7',
- keepweekly => '4',
- keepmonthly => '3',
- bandwidthlimit => false,
+ bandwidthlimit => $bandwidthlimit,
compress => '1',
}
}