}
# default backupninja::rdiff configuration
- define rdiff($port = '22', $ensure = present, $installkey = false) {
+ define rdiff($port = '22', $ensure = present, $installkey = true) {
backupninja::rdiff { "rdiff-$title.$domain":
- ensure => $ensure,
- options => "--remote-schema 'ssh -p $port -C %s rdiff-backup --server'",
+ ensure => $ensure,
+ options => "--remote-schema 'ssh -p $port -C %s rdiff-backup --server'",
# [source]
- keep => "10",
- include => $backup_include_encrypted,
- exclude => $backup_exclude_encrypted,
+ keep => "10",
+ include => $backup_include_encrypted,
+ exclude => $backup_exclude_encrypted,
# [dest]
- type => "remote",
- host => "$title.$domain",
- home => "/var/backups/remote/$fqdn",
- directory => "/var/backups/remote/$fqdn/rdiff",
- user => "$hostname",
- sshoptions => "-p $port",
- installkey => $installkey,
+ type => "remote",
+ host => "$title.$domain",
+ home => "/var/backups/remote/$fqdn",
+ directory => "/var/backups/remote/$fqdn/rdiff",
+ user => "$hostname",
+ sshoptions => "-p $port",
+ installkey => $installkey,
+ backupkeytype => "dsa",
}
}