A Chef cookbook for installing and configuring rkhunter
So far, only tested with a Debian 6 Vagrant Box.
Key | Type | Description | Default |
---|---|---|---|
['rkhunter']['cron_daily_run'] | Boolean | whether to run daily | true |
['rkhunter']['cron_db_update'] | Boolean | whether to update db weekly | true |
['rkhunter']['db_update_email'] | Boolean | enable reports of weekly database updates | true |
['rkhunter']['report_email'] | string | email address to report to | root |
['rkhunter']['apt_autogen'] | Boolean | enable automatic database updates | false |
['rkhunter']['nice'] | string | niceness of run-level | 0 |
['rkhunter']['run_check_on_battery'] | string | potentially run while on battery | false |
Just include rkhunter
in your node's run_list
OR create a simple role:
name "rkhunter"
description "rkhunter config"
run_list(
"recipe[rkhunter]",
)
default_attributes(
:rkhunter => { :db_update_email => "true",
:report_email => "your@email.com" }
)
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
e.g.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License: Nothing here. Do what you wish. Authors: Greg Palmier