From 409ec084543f0d85ca4e69ed2992e47ea6b07cb4 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Fri, 21 Jul 2017 14:47:12 +0100 Subject: [PATCH] added control for forward.conf --- templates/httpd/nagios_conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/httpd/nagios_conf.erb b/templates/httpd/nagios_conf.erb index 1884734..a310523 100644 --- a/templates/httpd/nagios_conf.erb +++ b/templates/httpd/nagios_conf.erb @@ -23,7 +23,7 @@ ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/" Require host <%= @ng_required_hosts %> <% end -%> <% unless @ng_required_ips.empty? -%> - Require ip <%= @ng_required_ip %> + Require ip <%= @ng_required_ips %> <% end -%> AuthName "Nagios Access" AuthType Basic @@ -58,7 +58,7 @@ Alias /nagios "/usr/share/nagios/html" Require host <%= @ng_required_hosts %> <% end -%> <% unless @ng_required_ips.empty? -%> - Require ip <%= @ng_required_ip %> + Require ip <%= @ng_required_ips %> <% end -%> AuthName "Nagios Access" AuthType Basic