denyhosts

Configure DenyHosts

Puppet

puppetlabs

144,637 downloads

143,231 latest version

3.5 quality score

Version information

  • 0.1.0 (latest)
  • 0.0.1
released May 8th 2014

Start using this module

Documentation

puppetlabs/denyhosts — version 0.1.0 May 8th 2014

puppetlabs-denyhosts

This module supplies basic configuration for DenyHosts

Class: denyhosts

It provides a class that controls which hosts are allowed to connect and the email address to alert on violations, for example:

class { "denyhosts":
  adminemail => "",
  allow      => [ 'host1', 'host2', 'host3' ],
}

The email address defaults to root@localhost.

You could also use a hiera look-up to query the data:

class { "denyhosts":
  adminemail => "",
  allow      => hiera("allowhosts"),
}