aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bind/manifests/init.pp')
-rw-r--r--modules/bind/manifests/init.pp13
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"),