diff --git a/manifests/monitoring/fail2ban.pp b/manifests/monitoring/fail2ban.pp index e77f235..b7e28c4 100644 --- a/manifests/monitoring/fail2ban.pp +++ b/manifests/monitoring/fail2ban.pp @@ -7,7 +7,7 @@ class confdroid_nagios::monitoring::fail2ban ( ) inherits confdroid_nagios::params { # we want to create a nagios jail here - if ($ng_nagios_host == $fqdn) and ($ng_enable_fail2ban == true) { + if ($ng_nagios_server == $fqdn) and ($ng_enable_fail2ban == true) { require confdroid_fail2ban # create the jail file