# Class: denyhosts
#   This module manages denyhosts
#
# Definition:
#   denyhosts::email
#   denyhosts::whitelist
#
# Parameters:
#   $email     - specify the email, default is root
#   $whitelist - specify the whitelist, default is 127.0.0.1
#
# Actions:
#   Installs the denyhosts.conf, allowed-hosts
#
# Requires:
#   -
#
# Sample Usage:
#   denyhosts::email { "/etc/denyhosts.conf":
#      email => hiera('email'),
#   }
#
#   denyhosts::whitelist { "/var/lib/denyhosts/allowed-hosts":
#      whitelist => hiera_array('whitelist'),
#   }