aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2009-01-17 18:24:25 -0500
committerAntoine Beaupre <anarcat@koumbit.org>2009-01-17 18:24:25 -0500
commite7009976eeab68bb1a68817881bcb1936960157d (patch)
treeb42cab45901d1199f80b68acb1d9ed2b536450b3
parent9f61f6a39063737ec690e91c9ff35ff4ee391f74 (diff)
downloadpuppet-backupninja-e7009976eeab68bb1a68817881bcb1936960157d.tar.gz
puppet-backupninja-e7009976eeab68bb1a68817881bcb1936960157d.tar.bz2
fix resource tag exported from rdiff resources, install rdiff in the rdiff-backup define
-rw-r--r--manifests/rdiff.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index 0228a06..9c81289 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -28,7 +28,7 @@ define backupninja::rdiff(
$backuptag = false)
{
$real_backuptag = $backuptag ? {
- false => $host,
+ false => "backupninja-$host",
default => $backuptag
}
@@ -61,5 +61,6 @@ define backupninja::rdiff(
mode => 0600,
require => File["${backupninja::client::configdir}"]
}
+ package { "rdiff-backup": ensure => installed }
}