summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/definitions/bind-zone.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/definitions/bind-zone.pp b/manifests/definitions/bind-zone.pp
index 6114d9b..64da5da 100644
--- a/manifests/definitions/bind-zone.pp
+++ b/manifests/definitions/bind-zone.pp
@@ -75,5 +75,14 @@ define bind::zone($ensure=present,
content => template("bind/zone-header.erb"),
require => Package["bind9"],
}
+
+ file {"/etc/bind/pri/${name}.conf.d":
+ ensure => directory,
+ mode => 0700,
+ purge => true,
+ recurse => true,
+ backup => false,
+ force => true,
+ }
}
}