aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils.pp')
-rw-r--r--manifests/utils.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/manifests/utils.pp b/manifests/utils.pp
index cec181d..6e6ff2e 100644
--- a/manifests/utils.pp
+++ b/manifests/utils.pp
@@ -4,13 +4,22 @@ class nodo::utils inherits nodo::utils::base {
'pv',
'vim-nox',
'needrestart',
- 'reboot-notifier',
#debian-goodies,
#clog,
]:
ensure => present,
}
+ # Not available in some old systems
+ package { [
+ 'reboot-notifier',
+ ]:
+ ensure => $::lsbdistcodename ? {
+ 'trusty' => absent,
+ default => present,
+ },
+ }
+
include nodo::utils::http
if !defined(Package['git']) {