diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-12 11:47:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-12 11:47:47 -0300 |
commit | dd12f7b925e7281dd10c5f8750be358181a61454 (patch) | |
tree | 0c93ab2334a50cb20a84b4b5c398b1a323d22e43 /manifests/subsystem | |
parent | e4962286b41609e041a8330a5b76d9cfd0102317 (diff) | |
download | puppet-nodo-dd12f7b925e7281dd10c5f8750be358181a61454.tar.gz puppet-nodo-dd12f7b925e7281dd10c5f8750be358181a61454.tar.bz2 |
Do not use debsecan and debian-security-support on ubuntu
Diffstat (limited to 'manifests/subsystem')
-rw-r--r-- | manifests/subsystem/security.pp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/subsystem/security.pp b/manifests/subsystem/security.pp index 701b586..14bce8a 100644 --- a/manifests/subsystem/security.pp +++ b/manifests/subsystem/security.pp @@ -10,14 +10,17 @@ class nodo::subsystem::security { } package { [ 'debsecan', 'debian-security-support' ]: - ensure => $::lsbdistcodename ? { - 'trusty' => absent, + ensure => $::lsbdistid ? { + 'Ubuntu' => absent, default => present, }, } file { '/etc/default/debsecan' : - ensure => present, + ensure => $::lsbdistid ? { + 'Ubuntu' => absent, + default => present, + }, owner => "root", group => "root", mode => "0644", |