diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 22:30:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 22:30:59 -0300 |
commit | c8c169a0a4ab3ecbbfc7016bf0b98bd3f8eac221 (patch) | |
tree | 8fa76a6911ecfd6366399fcc6cefe156d30f9071 /manifests | |
parent | 3c0208869854d71fde284e3c2d6515a6a3d037df (diff) | |
download | puppet-backup-c8c169a0a4ab3ecbbfc7016bf0b98bd3f8eac221.tar.gz puppet-backup-c8c169a0a4ab3ecbbfc7016bf0b98bd3f8eac221.tar.bz2 |
Adding backupkeytype parameter at backup::rdiff
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 30a28ad..50cb9f2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -39,22 +39,23 @@ class backup { } # 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", } } |