Merge branch 'master' of ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet
authorStephen Gran <steve@lobefin.net>
Tue, 29 Mar 2011 19:12:11 +0000 (20:12 +0100)
committerStephen Gran <steve@lobefin.net>
Tue, 29 Mar 2011 19:12:11 +0000 (20:12 +0100)
modules/debian-org/misc/local.yaml
modules/named/templates/named.conf.options.erb

index 3436b49..fa3f42d 100644 (file)
@@ -271,6 +271,7 @@ host_settings:
     - ries.debian.org
     - rietz.debian.org
     - rossini.debian.org
+    - saens.debian.org
     - salieri.debian.org
     - samosa.debian.org
     - santoro.debian.org
@@ -278,6 +279,7 @@ host_settings:
     - schein.debian.org
     - schuetz.debian.org
     - schumann.debian.org
+    - senfl.debian.org
     - sibelius.debian.org
     - smetana.debian.org
     - soler.debian.org
index 4cb466e..294cbb0 100644 (file)
@@ -20,7 +20,7 @@ options {
        directory "/var/cache/bind";
 
        auth-nxdomain no;    # conform to RFC1035
-<% if classes.include?("named::geodns") -%>
+<% 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') or classes.include?('named::recursor')
+  if (classes.include?('named::authoritative') and not %w{senfl}.include?(hostname)) or classes.include?('named::recursor')
     allowed += 'localnets; '
   end