From 058ebe28086cd53f6fe86b794d6b658c95124ed7 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Thu, 19 Mar 2015 17:05:32 -0400 Subject: fix autoload, first attempt --- manifests/client/rsync.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 manifests/client/rsync.pp (limited to 'manifests/client/rsync.pp') diff --git a/manifests/client/rsync.pp b/manifests/client/rsync.pp new file mode 100644 index 0000000..ec92b56 --- /dev/null +++ b/manifests/client/rsync.pp @@ -0,0 +1,9 @@ +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, + } + } +} -- cgit v1.2.3