aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp21
1 files changed, 20 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index c21e669..acff367 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -127,4 +127,23 @@ class backupninja::client::duplicity inherits backupninja::client::defaults {
}
}
}
-
+
+class backupninja::client::sys inherits backupninja::client::defaults {
+ case $operatingsystem {
+ debian,ubuntu: {
+ if !defined(Package["debconf-utils"]) {
+ if $debconf_utils_ensure_version == '' { $debconf_utils_ensure_version = 'installed' }
+ package { 'debconf-utils':
+ ensure => $debconf_utils_ensure_version,
+ }
+ }
+ if !defined(Package["hwinfo"]) {
+ if $hwinfo_ensure_version == '' { $hwinfo_ensure_version = 'installed' }
+ package { 'hwinfo':
+ ensure => $hwinfo_ensure_version,
+ }
+ }
+ }
+ default: {}
+ }
+}