summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 7e689bf..c41f6e7 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -166,4 +166,14 @@ class backupninja::client::sys inherits backupninja::client::defaults {
}
default: {}
}
+}
+
+class backupninja::client::rsync inherits backupninja::client::defaults {
+
+ if !defined(Package["rsync"]) {
+ if $rsync_ensure_version == '' { $rsync_ensure_version = 'installed' }
+ package { 'rsync':
+ ensure => $rsync_ensure_version,
+ }
+ }
}