]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/named/manifests/authoritative.pp
massive style guide fixups
[dsa-puppet.git] / modules / named / manifests / authoritative.pp
index 4ffba00dc81e7319c2c57adddf6859fe4d605d01..a1024d88a955e2a32dcf877b76f68568687dc528 100644 (file)
@@ -1,20 +1,15 @@
 class named::authoritative inherits named {
-    file {
-        "/etc/bind/named.conf.debian-zones":
-            source  => [ "puppet:///modules/named/per-host/$fqdn/named.conf.debian-zones",
-                         "puppet:///modules/named/common/named.conf.debian-zones" ],
-            notify  => Exec["bind9 reload"];
-        "/etc/bind/named.conf.options":
-            content => template("named/named.conf.options.erb"),
-            notify  => Exec["bind9 reload"];
-    }
-    file { "/etc/bind/named.conf.shared-keys":
-        mode    => 640,
-        owner   => root,
-        group   => bind,
-    }
+       file { '/etc/bind/named.conf.debian-zones':
+               source  => 'puppet:///modules/named/common/named.conf.debian-zones',
+               notify  => Service['bind9'],
+       }
+       file { '/etc/bind/named.conf.options':
+               content => template('named/named.conf.options.erb'),
+               notify  => Service['bind9'],
+       }
+       file { '/etc/bind/named.conf.shared-keys':
+               mode    => '0640',
+               owner   => root,
+               group   => bind,
+       }
 }
-
-# vim:set et:
-# vim:set sts=4 ts=4:
-# vim:set shiftwidth=4: