undo all easydns changes... if we are to hard code, put in another file
[mirror/dsa-puppet.git] / modules / named / manifests / authoritative.pp
index a1024d8..5a38141 100644 (file)
@@ -1,6 +1,6 @@
 class named::authoritative inherits named {
        file { '/etc/bind/named.conf.debian-zones':
-               source  => 'puppet:///modules/named/common/named.conf.debian-zones',
+               content => template('named/named.conf.debian-zones.erb'),
                notify  => Service['bind9'],
        }
        file { '/etc/bind/named.conf.options':
@@ -12,4 +12,11 @@ class named::authoritative inherits named {
                owner   => root,
                group   => bind,
        }
+       file { '/etc/bind/named.conf.puppet-shared-keys':
+               mode    => '0640',
+               content => template('named/named.conf.puppet-shared-keys.erb'),
+               owner   => root,
+               group   => bind,
+               notify  => Service['bind9'],
+       }
 }