Parent Directory | Revision Log
rework the layout of the bind module
1 | define bind::zone($type, $content = false) { |
2 | if ! $content { |
3 | $zone_content = template("bind/zones/$name.zone") |
4 | } else { |
5 | $zone_content = $content |
6 | } |
7 | file { "/var/lib/named/var/named/$type/$name.zone": |
8 | content => $zone_content, |
9 | require => Package['bind'], |
10 | notify => Exec['named_reload'] |
11 | } |
12 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |