Commit 07c2de90 authored by Micah Anderson's avatar Micah Anderson

remove no longer referenced call to rdiff-installed class, and add a check for...

remove no longer referenced call to rdiff-installed class, and add a check for rsync package installation to avoid duplicate package definitions
parent 0a5a15cf
......@@ -43,8 +43,12 @@ class backupninja::server {
File <<| tag == "backupninja-$real_backupserver_tag" |>>
Ssh_authorized_key <<| tag == "backupninja-$real_backupserver_tag" |>>
package { "rsync": ensure => installed }
include backupninja::rdiff-installed
if !defined(Package["rsync"]) {
if $rsync_ensure_version == '' { $rsync_ensure_version = 'installed' }
package { 'rsync':
ensure => $rsync_ensure_version,
}
}
# this define allows nodes to declare a remote backup sandbox, that have to
# get created on the server
......
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