diff options
-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'], |