From 9e768f19257bece5002132ea4a66467334c7cc2f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 29 Mar 2011 19:07:55 +0200 Subject: [PATCH] include with a ? --- modules/named/templates/named.conf.options.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/named/templates/named.conf.options.erb b/modules/named/templates/named.conf.options.erb index 6cff0291..294cbb04 100644 --- a/modules/named/templates/named.conf.options.erb +++ b/modules/named/templates/named.conf.options.erb @@ -20,7 +20,7 @@ options { directory "/var/cache/bind"; auth-nxdomain no; # conform to RFC1035 -<% if classes.include?("named::geodns") or %w{senfl}.include(hostname) -%> +<% if classes.include?("named::geodns") or %w{senfl}.include?(hostname) -%> listen-on { ! 127.0.0.1; any; }; listen-on-v6 { ! ::1; any; }; <% else -%> @@ -35,7 +35,7 @@ options { <%= allowed='Nagios; ' - if (classes.include?('named::authoritative') and not %w{senfl}.include(hostname)) or classes.include?('named::recursor') + if (classes.include?('named::authoritative') and not %w{senfl}.include?(hostname)) or classes.include?('named::recursor') allowed += 'localnets; ' end -- 2.39.2