aboutsummaryrefslogtreecommitdiff
path: root/manifests/client/rdiff_backup.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-19 17:05:32 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-04-17 17:11:20 -0400
commit058ebe28086cd53f6fe86b794d6b658c95124ed7 (patch)
tree19764370d0699961401f8becc1379f0e17434c7f /manifests/client/rdiff_backup.pp
parent74ce68bcf6f1fbf938e4a161f7c6305f67378b7d (diff)
downloadpuppet-backupninja-058ebe28086cd53f6fe86b794d6b658c95124ed7.tar.gz
puppet-backupninja-058ebe28086cd53f6fe86b794d6b658c95124ed7.tar.bz2
fix autoload, first attempt
Diffstat (limited to 'manifests/client/rdiff_backup.pp')
-rw-r--r--manifests/client/rdiff_backup.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/client/rdiff_backup.pp b/manifests/client/rdiff_backup.pp
new file mode 100644
index 0000000..9b098bf
--- /dev/null
+++ b/manifests/client/rdiff_backup.pp
@@ -0,0 +1,9 @@
+class backupninja::client::rdiff_backup inherits backupninja::client::defaults {
+
+ if !defined(Package["rdiff-backup"]) {
+ if $rdiff_backup_ensure_version == '' { $rdiff_backup_ensure_version = 'installed' }
+ package { 'rdiff-backup':
+ ensure => $rdiff_backup_ensure_version,
+ }
+ }
+}