aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-07-04 22:20:32 +0000
committerMichael Scherer <misc@mageia.org>2011-07-04 22:20:32 +0000
commita110a8db3b7c7c303275857249bf5ae2929a7e08 (patch)
treef3ef260ccfbc00873d1ceb807ea75de532366b04 /modules/bind/manifests
parent8bf8a9100d19af93adcef64f7ce7a3bd27791167 (diff)
downloadpuppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar
puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar.gz
puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar.bz2
puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.tar.xz
puppet-a110a8db3b7c7c303275857249bf5ae2929a7e08.zip
add proper hook for declaring tld zones
Diffstat (limited to 'modules/bind/manifests')
-rw-r--r--modules/bind/manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/bind/manifests/init.pp b/modules/bind/manifests/init.pp
index 585c04fb..7bc7a8f0 100644
--- a/modules/bind/manifests/init.pp
+++ b/modules/bind/manifests/init.pp
@@ -19,7 +19,6 @@ class bind {
}
}
-
file { '/var/lib/named/etc/named.conf':
ensure => present,
owner => root,
@@ -63,12 +62,16 @@ class bind {
class bind_master inherits bind_base {
+ Tld_redirections::Domain <<| |>>
+
+ $managed_tlds = list_exported_ressources('Tld_redirections::Domain')
file { '/var/lib/named/etc/named.conf':
content => template("bind/named_base.conf", "bind/named_master.conf"),
}
}
class bind_slave inherits bind_base {
+ $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"),
}