testing options both for hosts and ips
This commit is contained in:
@@ -60,7 +60,7 @@ Alias /nagios "/usr/share/nagios/html"
|
||||
<% @ng_required_hosts.each do |required_host| -%>
|
||||
Require host <%= required_host %>
|
||||
<% end end -%>
|
||||
<% if @ng_required_ips [] -%>
|
||||
<% if @ng_required_ips != [] -%>
|
||||
<% @ng_required_ips.each do |required_ips| -%>
|
||||
Require ip <%= required_ips %>
|
||||
<% end end -%>
|
||||
|
||||
Reference in New Issue
Block a user