From: Peter Palfrader <peter@palfrader.org>
Date: Thu, 9 Jun 2011 12:25:54 +0000 (+0200)
Subject: draghi is another special bind authority case
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1c1a5d592e6f47007b55b1511e7ee9970df0d58c;p=dsa-puppet.git

draghi is another special bind authority case
---

diff --git a/modules/named/templates/named.conf.options.erb b/modules/named/templates/named.conf.options.erb
index 7b31d185..2403fb8e 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{diamond orff senfl ravel}.include?(hostname) -%>
+<% if classes.include?("named::geodns") or %w{draghi diamond orff senfl ravel}.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{diamond orff senfl ravel}.include?(hostname)) or classes.include?('named::recursor')
+  if (classes.include?('named::authoritative') and not %w{draghi diamond orff senfl ravel}.include?(hostname)) or classes.include?('named::recursor')
     allowed += 'localnets; '
   end