aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-12 11:47:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-12 11:47:47 -0300
commitdd12f7b925e7281dd10c5f8750be358181a61454 (patch)
tree0c93ab2334a50cb20a84b4b5c398b1a323d22e43 /manifests/subsystem
parente4962286b41609e041a8330a5b76d9cfd0102317 (diff)
downloadpuppet-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.pp9
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",