aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-04-30 13:37:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-04-30 13:37:03 -0300
commitd0447707b83db3028cd3e8c25e9e5f0b3cbc95f8 (patch)
treeb259881d82818dd40c2b820698b5005233634558
parent33b50f6b360903167deae20987657b371dec747f (diff)
downloadpuppet-nodo-d0447707b83db3028cd3e8c25e9e5f0b3cbc95f8.tar.gz
puppet-nodo-d0447707b83db3028cd3e8c25e9e5f0b3cbc95f8.tar.bz2
Manages debsecan and needrestart
-rw-r--r--manifests/utils.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/utils.pp b/manifests/utils.pp
index 9ede2a6..0bd6b59 100644
--- a/manifests/utils.pp
+++ b/manifests/utils.pp
@@ -4,13 +4,17 @@ class nodo::utils inherits nodo::utils::base {
ensure => present,
}
- package { 'debian-security-support' :
+ package { 'debian-security-support':
ensure => $::lsbdistcodename ? {
'trusty' => absent,
default => present,
},
}
+ package { [ 'debsecan', 'needrestart' ]:
+ ensure => present,
+ }
+
# Might be defined elsewhere
if !defined(Package['wget']) {
package { 'wget':