Commit e7009976 authored by Antoine Beaupre's avatar Antoine Beaupre
Browse files

fix resource tag exported from rdiff resources, install rdiff in the rdiff-backup define

parent 9f61f6a3
...@@ -28,7 +28,7 @@ define backupninja::rdiff( ...@@ -28,7 +28,7 @@ define backupninja::rdiff(
$backuptag = false) $backuptag = false)
{ {
$real_backuptag = $backuptag ? { $real_backuptag = $backuptag ? {
false => $host, false => "backupninja-$host",
default => $backuptag default => $backuptag
} }
...@@ -61,5 +61,6 @@ define backupninja::rdiff( ...@@ -61,5 +61,6 @@ define backupninja::rdiff(
mode => 0600, mode => 0600,
require => File["${backupninja::client::configdir}"] require => File["${backupninja::client::configdir}"]
} }
package { "rdiff-backup": ensure => installed }
} }
Supports Markdown
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