From: Silvio Rhatto Date: Tue, 12 Sep 2017 14:47:47 +0000 (-0300) Subject: Do not use debsecan and debian-security-support on ubuntu X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dd12f7b925e7281dd10c5f8750be358181a61454;p=puppet-nodo.git Do not use debsecan and debian-security-support on ubuntu --- 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",