Commit e547977e authored by Jonathan Lent's avatar Jonathan Lent
Browse files

absent now purges packages, also removes cron.d script

parent 9efdb900
......@@ -165,8 +165,13 @@ define audit::auditd (
'absent': {
package {
'auditd': ensure => absent;
'audispd-plugins': ensure => absent;
'auditd': ensure => purged;
'audispd-plugins': ensure => purged;
}
if ($::osfamily == 'RedHat' and $::lsbmajdistrelease == '5') {
# do nothing - package is not available in repos
} else {
package { 'stanford-auditd-tools': ensure => purged }
}
file {
'/etc/audit/auditd.keytab': ensure => absent;
......@@ -174,6 +179,7 @@ define audit::auditd (
'/etc/audit/auditd.conf': ensure => absent;
'/etc/audisp/audispd.conf': ensure => absent;
'/etc/filter-syslog/auditd-wheezy': ensure => absent;
'/etc/cron.d/auditd-restart': ensure => absent;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment