diff options
Diffstat (limited to 'manifests/client/sys.pp')
-rw-r--r-- | manifests/client/sys.pp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/manifests/client/sys.pp b/manifests/client/sys.pp new file mode 100644 index 0000000..c038060 --- /dev/null +++ b/manifests/client/sys.pp @@ -0,0 +1,19 @@ +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: {} + } +} |