testing options both for hosts and ips

This commit is contained in:
Arne Teuke
2017-07-21 13:44:03 +01:00
parent b95350b8d8
commit 442fd08f62

View File

@@ -56,7 +56,7 @@ Alias /nagios "/usr/share/nagios/html"
<IfVersion >= 2.3>
<RequireAll>
Require all granted
<% if @ng_required_hosts != [] -%>
<% unless @ng_required_hosts.empty? -%>
<% @ng_required_hosts.each do |required_host| -%>
Require host <%= required_host %>
<% end end -%>