/rkhunter-cookbook

rkhunter chef cookbook

Primary LanguageRubyOtherNOASSERTION

rkhunter Cookbook

A Chef cookbook for installing and configuring rkhunter

Requirements

So far, only tested with a Debian 6 Vagrant Box.

Attributes

rkhunter::default

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

Usage

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" }
)

Contributing

TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

License: Nothing here. Do what you wish. Authors: Greg Palmier