Install and configure rkhunter directly with SaltStack.
rkhunter.install
: Installsrkhunter
packagerkhunter.config
: Configuresrkhunter
packagerkhunter
: Installs and configuresrkhunter
package
You can take a loot at pillar.example
to configure Rkhunter with pillars.
rkhunter:default:*
is to configure/etc/default/rkhunter
file (on Debian/Ubuntu)rkhunter:config:*
is to configure/etc/rkhunter.conf
file
This formula is tested with Kitchen and Inspec in a Docker container.
To run tests you need to
- install Ruby dependencies :
bundle install
- run Kitchen :
kitchen test