Class | bind::server |
In: |
/modules/bind/manifests/server.pp
|
Parent: |
Class: bind::server
Install and enable an ISC BIND server.
Parameters:
$chroot: Enable chroot for the server. Default: false $bindpkgprefix: Package prefix name. Default: 'bind'
Sample Usage :
include bind::server class { 'bind::server': chroot => false, bindpkgprefix => 'bind97', }
Define: bind::server::file
ISC BIND server template-based or pre-created zone file definition. Either of $source or $content must be specificed when using it.
Parameters:
$zonedir: Directory where to store the zone file. Default: '/var/named' $owner: Zone file user owner. Default: 'root' $group: Zone file group owner. Default: 'named' $mode: Zone file mode: Default: '0640' $source: Zone file content source. Default: none $source_base: Zone file content source base, where to look for a file named the same as the zone itselt. Default: none $content: Zone file content (usually template-based). Default: none $ensure: Whether the zone file should be 'present' or 'absent'. Default: present.
Sample Usage :
bind::server::file { 'example.com': zonedir => '/var/named/chroot/var/named', source => 'puppet:///files/dns/example.com', }