diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-30 13:37:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-30 13:37:03 -0300 |
commit | d0447707b83db3028cd3e8c25e9e5f0b3cbc95f8 (patch) | |
tree | b259881d82818dd40c2b820698b5005233634558 | |
parent | 33b50f6b360903167deae20987657b371dec747f (diff) | |
download | puppet-nodo-d0447707b83db3028cd3e8c25e9e5f0b3cbc95f8.tar.gz puppet-nodo-d0447707b83db3028cd3e8c25e9e5f0b3cbc95f8.tar.bz2 |
Manages debsecan and needrestart
-rw-r--r-- | manifests/utils.pp | 6 |
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': |