aboutsummaryrefslogtreecommitdiff
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 287b02f..3dbd711 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -151,3 +151,13 @@ 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,
+ }
+ }
+}