summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-01 11:54:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-01 11:54:54 -0200
commit2e95f11a809a541c0ed852c7b2057dc53f49818d (patch)
treecee76bfcf81aac6649811408d92f19c0ad75f285 /manifests/client.pp
parent6ed1f8dfe6b16f148dde641482709958bc393815 (diff)
parent292dd6b41adde8ca018e7c9b0d976420dc8905bc (diff)
Merge branch 'master' of git://labs.riseup.net/module_backupninja
Conflicts: manifests/rdiff.pp
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 95e3905..287b02f 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -32,8 +32,11 @@ class backupninja::client::defaults {
'' => true,
default => $ssh_dir_manage
}
- package { 'backupninja':
- ensure => '0.9.6-4';
+ if !defined(Package["backupninja"]) {
+ if $backupninja_ensure_version == '' { $backupninja_ensure_version = 'installed' }
+ package { 'backupninja':
+ ensure => $backupninja_ensure_version
+ }
}
file { $configdir:
ensure => directory,