summaryrefslogtreecommitdiff
path: root/manifests/definitions/bind-zone.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/definitions/bind-zone.pp')
-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 091b929..4352698 100644
--- a/manifests/definitions/bind-zone.pp
+++ b/manifests/definitions/bind-zone.pp
@@ -72,5 +72,14 @@ define bind::zone($ensure=present,
file => "/etc/bind/pri/${name}.conf",
content => template("bind/zone-header.erb"),
}
+
+ file {"/etc/bind/pri/${name}.conf.d":
+ ensure => directory,
+ mode => 0700,
+ purge => true,
+ recurse => true,
+ backup => false,
+ force => true,
+ }
}
}