Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
rkhunter.pp 616 B
Newer Older
# rkhunter konfigurieren
class ubuntu_server::rkhunter{

    File{
        owner => root,
        group => root,
        mode => 644,
    }

    package{'rkhunter':
        ensure => present,
    } ~> Exec['rkhunter_propupdate']
    file{'rkhunter.conf.local':
        path => "/etc/rkhunter.conf.local",
        ensure => file,
        source => "puppet:///modules/ubuntu_server/etc/rkhunter.conf.local",
    } ~> Exec['rkhunter_propupdate']
    exec{'rkhunter_propupdate':
        path => $path,
        command => "rkhunter --update --propupd --sk && rkhunter --rwo --sk -c",
        refreshonly => true,
    }
}