diff options
author | Michael Scherer <misc@mageia.org> | 2010-12-01 20:06:54 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-12-01 20:06:54 +0000 |
commit | 7774648f1915fe33e5213e5d4206b9094b0c4c9a (patch) | |
tree | 08623ec1553976e81cda655f9942397ea4ad49dd /modules/bind | |
parent | 6385a0301ca6f85877771a8acdf6270446eccebe (diff) | |
download | puppet-7774648f1915fe33e5213e5d4206b9094b0c4c9a.tar puppet-7774648f1915fe33e5213e5d4206b9094b0c4c9a.tar.gz puppet-7774648f1915fe33e5213e5d4206b9094b0c4c9a.tar.bz2 puppet-7774648f1915fe33e5213e5d4206b9094b0c4c9a.tar.xz puppet-7774648f1915fe33e5213e5d4206b9094b0c4c9a.zip |
add the reverse ipv6 zone
Diffstat (limited to 'modules/bind')
-rw-r--r-- | modules/bind/manifests/init.pp | 13 |
1 files changed, 13 insertions, 0 deletions
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"), |