aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind/manifests/master.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bind/manifests/master.pp')
-rw-r--r--modules/bind/manifests/master.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/bind/manifests/master.pp b/modules/bind/manifests/master.pp
new file mode 100644
index 00000000..a82d4757
--- /dev/null
+++ b/modules/bind/manifests/master.pp
@@ -0,0 +1,17 @@
+class bind::master inherits bind {
+ Tld_redirections::Domain <<| |>>
+
+ $managed_tlds = list_exported_ressources('Tld_redirections::Domain')
+
+ file { "/var/lib/named/var/named/master":
+ ensure => directory
+ }
+
+ file { "/var/lib/named/var/named/reverse":
+ ensure => directory
+ }
+
+ File['/var/lib/named/etc/named.conf'] {
+ content => template('bind/named_base.conf', 'bind/named_master.conf'),
+ }
+}