diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-11 14:38:19 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-11 14:38:19 +0200 |
commit | 3fceb06165b23977b6d021ada9ab1975dc4a6540 (patch) | |
tree | 628d5053ae4e1912decd9c4cc7919229c698b45b /modules/bind | |
parent | f5a008c030fa32775029165f17fb1bbecb5ee883 (diff) | |
download | puppet-3fceb06165b23977b6d021ada9ab1975dc4a6540.tar puppet-3fceb06165b23977b6d021ada9ab1975dc4a6540.tar.gz puppet-3fceb06165b23977b6d021ada9ab1975dc4a6540.tar.bz2 puppet-3fceb06165b23977b6d021ada9ab1975dc4a6540.tar.xz puppet-3fceb06165b23977b6d021ada9ab1975dc4a6540.zip |
make sure /var/lib/named/var/named/master exist
Diffstat (limited to 'modules/bind')
-rw-r--r-- | modules/bind/manifests/zone.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/bind/manifests/zone.pp b/modules/bind/manifests/zone.pp index c99c3f16..e44bcab4 100644 --- a/modules/bind/manifests/zone.pp +++ b/modules/bind/manifests/zone.pp @@ -4,6 +4,11 @@ define bind::zone($type, $content = false) { } else { $zone_content = $content } + + file { "/var/lib/named/var/named/${type}": + ensure => directory + } + file { "/var/lib/named/var/named/${type}/${name}.zone": content => $zone_content, require => Package['bind'], |