aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind/manifests/slave.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-20 17:30:33 +0000
committerMichael Scherer <misc@mageia.org>2012-03-20 17:30:33 +0000
commitb433b11029408072497a67a94cc4afc5852a034c (patch)
tree2641e64711e4ed76c60d38704e19af54a7e4077b /modules/bind/manifests/slave.pp
parent47ef89f1230721a4c47a55e5e3e881ab237ffd2a (diff)
downloadpuppet-b433b11029408072497a67a94cc4afc5852a034c.tar
puppet-b433b11029408072497a67a94cc4afc5852a034c.tar.gz
puppet-b433b11029408072497a67a94cc4afc5852a034c.tar.bz2
puppet-b433b11029408072497a67a94cc4afc5852a034c.tar.xz
puppet-b433b11029408072497a67a94cc4afc5852a034c.zip
rework the layout of the bind module
Diffstat (limited to 'modules/bind/manifests/slave.pp')
-rw-r--r--modules/bind/manifests/slave.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/bind/manifests/slave.pp b/modules/bind/manifests/slave.pp
new file mode 100644
index 00000000..e446b57a
--- /dev/null
+++ b/modules/bind/manifests/slave.pp
@@ -0,0 +1,6 @@
+class bind::slave inherits bind {
+ $managed_tlds = list_exported_ressources('Tld_redirections::Domain')
+ File['/var/lib/named/etc/named.conf'] {
+ content => template('bind/named_base.conf', 'bind/named_slave.conf'),
+ }
+}