testing options both for hosts and ips
This commit is contained in:
@@ -56,7 +56,7 @@ Alias /nagios "/usr/share/nagios/html"
|
|||||||
<IfVersion >= 2.3>
|
<IfVersion >= 2.3>
|
||||||
<RequireAll>
|
<RequireAll>
|
||||||
Require all granted
|
Require all granted
|
||||||
<% if @ng_required_hosts != [] -%>
|
<% unless @ng_required_hosts.empty? -%>
|
||||||
<% @ng_required_hosts.each do |required_host| -%>
|
<% @ng_required_hosts.each do |required_host| -%>
|
||||||
Require host <%= required_host %>
|
Require host <%= required_host %>
|
||||||
<% end end -%>
|
<% end end -%>
|
||||||
|
|||||||
Reference in New Issue
Block a user