From 7774648f1915fe33e5213e5d4206b9094b0c4c9a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 1 Dec 2010 20:06:54 +0000 Subject: add the reverse ipv6 zone --- modules/bind/manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/bind') diff --git a/modules/bind/manifests/init.pp b/modules/bind/manifests/init.pp index 4b668d52..1215d737 100644 --- a/modules/bind/manifests/init.pp +++ b/modules/bind/manifests/init.pp @@ -42,6 +42,19 @@ class bind { } } + define zone_reverse { + file { "/var/lib/named/var/named/reverse/$name.zone": + ensure => present, + owner => root, + group => root, + mode => 644, + content => template("bind/zones/$name.zone"), + require => Package[bind], + notify => Service[named] + } + } + + class bind_master inherits bind_base { file { '/var/lib/named/etc/named.conf': content => template("bind/named_base.conf", "bind/named_master.conf"), -- cgit v1.2.1