This module allows for the installation and management of DenyHOSTS.
This module has been tested on the following target operating systems:
- Ubuntu 10.04 LTS (32 & 64)
- Ubuntu 12.04 LTS (32 & 64)
This modules has also been tested against the following versions of Puppet:
- 3.1.1
- 3.0.2
- 2.7.20
- 2.6.17
This module has no external dependencies.
puppet module install plainprogrammer/denyhosts
The easiest way to use this module is to declare a class and provide the desired options:
class { "denyhosts":
use_sync => true,
autoupdate => false,
}
List of IP Addresses to always allow
$always_allow = ['123.0.1.24']
List of IP Addresses to always deny
$always_deny = ['123.0.1.24']
Whether to us the DenyHosts in synchronization mode
$use_sync = false
Whether to update the denyhosts package automatically or not.
$autoupdate = false
Automatically start denyhosts deamon on boot.
$enable = true
Specify email to send notifications to.
$notification_email = '[email protected]'
Contributing is easy, unless you're lazy.
- Create an Issue and get feedback
- Fork the project
- Branch and develop with tests
- Submit a Pull Request
It is very important that your changes be tested, both via RSpec test and in reality by running via Vagrant. It is also very important that you don't try and code-fist the project. Keep your development focused on one particular feature or bug. Small and focused sets of changes are easier to accept as Pull Requests.