19 |
} |
} |
20 |
} |
} |
21 |
|
|
|
|
|
22 |
file { '/var/lib/named/etc/named.conf': |
file { '/var/lib/named/etc/named.conf': |
23 |
ensure => present, |
ensure => present, |
24 |
owner => root, |
owner => root, |
62 |
|
|
63 |
|
|
64 |
class bind_master inherits bind_base { |
class bind_master inherits bind_base { |
65 |
|
Tld_redirections::Domain <<| |>> |
66 |
|
|
67 |
|
$managed_tlds = list_exported_ressources('Tld_redirections::Domain') |
68 |
file { '/var/lib/named/etc/named.conf': |
file { '/var/lib/named/etc/named.conf': |
69 |
content => template("bind/named_base.conf", "bind/named_master.conf"), |
content => template("bind/named_base.conf", "bind/named_master.conf"), |
70 |
} |
} |
71 |
} |
} |
72 |
|
|
73 |
class bind_slave inherits bind_base { |
class bind_slave inherits bind_base { |
74 |
|
$managed_tlds = list_exported_ressources('Tld_redirections::Domain') |
75 |
file { '/var/lib/named/etc/named.conf': |
file { '/var/lib/named/etc/named.conf': |
76 |
content => template("bind/named_base.conf", "bind/named_slave.conf"), |
content => template("bind/named_base.conf", "bind/named_slave.conf"), |
77 |
} |
} |