aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-11 14:54:08 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-11 14:54:08 +0200
commitef752714051abba362723798f866cc773b427ce6 (patch)
tree72cf9ba6cd495d309bfa1497507e1bff33144ebd /modules/bind
parent2f016e72efe27e1e9f5bd83a2c1a7eeb93b40eac (diff)
downloadpuppet-ef752714051abba362723798f866cc773b427ce6.tar
puppet-ef752714051abba362723798f866cc773b427ce6.tar.gz
puppet-ef752714051abba362723798f866cc773b427ce6.tar.bz2
puppet-ef752714051abba362723798f866cc773b427ce6.tar.xz
puppet-ef752714051abba362723798f866cc773b427ce6.zip
make sure /var/lib/named/var/named/reverse exist
Diffstat (limited to 'modules/bind')
-rw-r--r--modules/bind/manifests/master.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/bind/manifests/master.pp b/modules/bind/manifests/master.pp
index fa448997..a82d4757 100644
--- a/modules/bind/manifests/master.pp
+++ b/modules/bind/manifests/master.pp
@@ -7,6 +7,10 @@ class bind::master inherits bind {
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'),
}