aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind/manifests/master.pp
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-11 14:39:56 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-11 14:39:56 +0200
commitb241952866ddbf6ebca69832a4b46e8f9f8404af (patch)
tree19d976330ac5e775a4c417f2cca52e160c5cb089 /modules/bind/manifests/master.pp
parent3fceb06165b23977b6d021ada9ab1975dc4a6540 (diff)
downloadpuppet-b241952866ddbf6ebca69832a4b46e8f9f8404af.tar
puppet-b241952866ddbf6ebca69832a4b46e8f9f8404af.tar.gz
puppet-b241952866ddbf6ebca69832a4b46e8f9f8404af.tar.bz2
puppet-b241952866ddbf6ebca69832a4b46e8f9f8404af.tar.xz
puppet-b241952866ddbf6ebca69832a4b46e8f9f8404af.zip
make sure /var/lib/named/var/named/master exist
Diffstat (limited to 'modules/bind/manifests/master.pp')
-rw-r--r--modules/bind/manifests/master.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/bind/manifests/master.pp b/modules/bind/manifests/master.pp
index c5ea1ccc..55d77bca 100644
--- a/modules/bind/manifests/master.pp
+++ b/modules/bind/manifests/master.pp
@@ -2,6 +2,11 @@ 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/etc/named.conf'] {
content => template('bind/named_base.conf', 'bind/named_master.conf'),
}