denyhosts

Denyhosts Module
CtrlC-Root

CtrlC-Root

ctrlcroot

9,511 downloads

8,780 latest version

2.0 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jul 3rd 2019

Start using this module

Documentation

ctrlcroot/denyhosts — version 0.2.0 Jul 3rd 2019

puppet-denyhosts

Puppet module for the denyhosts service. This module provides a higher level of abstraction than the module published by puppetlabs.

Requirements

  • puppetlabs/stdlib (4.1.0+)
  • puppetlabs/concat (1.0.0+)

Quick Start

You can install and configure denyhosts with default settings by declaring the base class:

class {'denyhosts': }

There are several parameters that control the behavior of the service, here's an example of setting some custom options:

class {'denyhosts':
    admin_email      => 'admin@example.com',
    reset_on_success => true
}

You can add entries to the denyhosts whitelist like this:

denyhosts::whitelist {'dev-hosts':
    comment => 'development machines',
    hosts   => ['10.89.0.10', '10.89.0.11']
}

Platforms

This module currently supports redhat and debian based platforms. It has been used in a production environment on the following platforms:

  • RedHat Enterprise Linux 6
  • Ubuntu 13.10