From 1a6db744c9afc7d01dd4d36e14c0edf5f3d0854f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 29 Mar 2011 18:59:11 +0200 Subject: [PATCH] but let sense not be resursive --- modules/named/templates/named.conf.options.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/named/templates/named.conf.options.erb b/modules/named/templates/named.conf.options.erb index e98dc67bf..b584e9085 100644 --- a/modules/named/templates/named.conf.options.erb +++ b/modules/named/templates/named.conf.options.erb @@ -35,7 +35,7 @@ options { <%= allowed='Nagios; ' - if classes.include?('named::authoritative') or classes.include?('named::recursor') + if (classes.include?('named::authoritative') and not %w{saens}.include(hostname)) or classes.include?('named::recursor') allowed += 'localnets; ' end -- 2.20.1