diff options
Diffstat (limited to 'manifests/subsystem')
-rw-r--r-- | manifests/subsystem/security.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/subsystem/security.pp b/manifests/subsystem/security.pp index faf00bb..701b586 100644 --- a/manifests/subsystem/security.pp +++ b/manifests/subsystem/security.pp @@ -8,4 +8,20 @@ class nodo::subsystem::security { group => "root", mode => "0755", } + + package { [ 'debsecan', 'debian-security-support' ]: + ensure => $::lsbdistcodename ? { + 'trusty' => absent, + default => present, + }, + } + + file { '/etc/default/debsecan' : + ensure => present, + owner => "root", + group => "root", + mode => "0644", + content => template("nodo/debsecan/default.erb"), + require => Package['debsecan'], + } } |