]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
unused module
authorStephen Gran <steve@lobefin.net>
Tue, 1 May 2012 10:40:21 +0000 (11:40 +0100)
committerStephen Gran <steve@lobefin.net>
Tue, 1 May 2012 10:40:21 +0000 (11:40 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/named/manifests/recursor.pp [deleted file]
modules/named/templates/named.conf.options.erb

diff --git a/modules/named/manifests/recursor.pp b/modules/named/manifests/recursor.pp
deleted file mode 100644 (file)
index 3bd06d9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-class named::recursor inherits named {
-
-       file { '/etc/bind/named.conf.options':
-               content => template('named/named.conf.options.erb'),
-               notify  => Service['bind9'],
-       }
-}
index 4224254d36a6b61b6073952415bc32642166f4ed..630058bb286f0a1ccbae4070975c961c2f46df23 100644 (file)
@@ -20,12 +20,8 @@ options {
        directory "/var/cache/bind";
 
        auth-nxdomain no;    # conform to RFC1035
-<% if classes.include?("named::recursor") -%>
-       listen-on-v6 { any; };
-<% else -%>
        listen-on { ! 127.0.0.1; any; };
        listen-on-v6 { ! ::1; any; };
-<% end -%>
 
        allow-transfer { none; };
        allow-update { none; };
@@ -35,9 +31,6 @@ options {
 
 <%=
   allowed='Nagios; '
-  if classes.include?('named::recursor')
-    allowed += 'localnets; '
-  end
 
   str =  "\tallow-recursion { " + allowed + " };\n"
   str += "\tallow-query { " + allowed + " };\n"