aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 66dbd1c..a3d2242 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -86,4 +86,22 @@ class backupninja::client {
}
}
+class backupninja::client::maildir inherits backupninja::client {
+ if !defined(Package["rsync"]) {
+ if $rsync_ensure_version == '' { $rsync_ensure_version = 'installed' }
+ package { 'rsync':
+ ensure => $rsync_ensure_version,
+ }
+ }
+}
+
+class backupninja::client::rdiff_backup inherits backupninja::client {
+
+ if !defined(Package["rdiff-backup"]) {
+ if $rdiff_backup_ensure_version == '' { $rdiff_backup_ensure_version = 'installed' }
+ package { 'rdiff-backup':
+ ensure => $rdiff_backup_ensure_version,
+ }
+ }
+}