aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-16 22:51:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-16 22:51:23 -0300
commitd1873d6dbb9e00e490696b8b4930e6b43b22df1a (patch)
tree84468df25f813aa9e7c669c54ae721f5d1200ecd /manifests
parentd3a23668585d0af3e4f21f48889c7316a2eed04e (diff)
downloadpuppet-backup-d1873d6dbb9e00e490696b8b4930e6b43b22df1a.tar.gz
puppet-backup-d1873d6dbb9e00e490696b8b4930e6b43b22df1a.tar.bz2
Minor changes
Diffstat (limited to 'manifests')
-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',
}
}