X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fnamed%2Fmanifests%2Fauthoritative.pp;fp=modules%2Fnamed%2Fmanifests%2Fauthoritative.pp;h=4ffba00dc81e7319c2c57adddf6859fe4d605d01;hb=7b4f24c7e7b0a1e9f85bd2c46d97714a4cebff0f;hp=0000000000000000000000000000000000000000;hpb=c0c9d8be97025bda2005389744f3cab6e5c20417;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/manifests/authoritative.pp b/modules/named/manifests/authoritative.pp new file mode 100644 index 000000000..4ffba00dc --- /dev/null +++ b/modules/named/manifests/authoritative.pp @@ -0,0 +1,20 @@ +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, + } +} + +# vim:set et: +# vim:set sts=4 ts=4: +# vim:set shiftwidth=4: