Revision 7f31fd4a
Added by Damian Lukowski about 7 years ago
manifests/init.pp | ||
---|---|---|
# $zonefilepath:: Directory containing zone files
|
||
#
|
||
# $localzonepath:: File holding local zones like RFC1912 or RFC1918 files.
|
||
# The special value 'unmanaged' can be used if one plans
|
||
# to create custom RFC1912/RFC1918 zones via ::dns,
|
||
# where the inclusion of package-shipped zone files is
|
||
# not desired.
|
||
#
|
||
# $defaultzonepath:: File holding some RFC1912 zone includes on systems
|
||
# like Debian.
|
||
# The special value 'unmanaged' can be used if one plans
|
||
# to create custom zones via ::dns,
|
||
# where the inclusion of package-shipped zone files is
|
||
# not desired.
|
||
#
|
||
# $forward:: The forward option
|
||
#
|
||
... | ... | |
# strings that allow for full customization. Use
|
||
# with caution.
|
||
#
|
||
# $enable_views:: Flag to indicate bind views support. Will remove
|
||
# global zone configuration like localzonepath
|
||
# inclusion.
|
||
#
|
||
# === Usage:
|
||
#
|
||
# * Simple usage:
|
||
... | ... | |
Stdlib::Absolutepath $vardir = $::dns::params::vardir,
|
||
String $namedservicename = $::dns::params::namedservicename,
|
||
Stdlib::Absolutepath $zonefilepath = $::dns::params::zonefilepath,
|
||
Optional[Stdlib::Absolutepath] $localzonepath = $::dns::params::localzonepath,
|
||
Optional[
|
||
Variant[Enum['unmanaged'],
|
||
Stdlib::Absolutepath]
|
||
] $localzonepath = $::dns::params::localzonepath,
|
||
Optional[
|
||
Variant[Enum['unmanaged'],
|
||
Stdlib::Absolutepath]
|
||
] $defaultzonepath = $::dns::params::defaultzonepath,
|
||
Optional[Enum['only', 'first']] $forward = $::dns::params::forward,
|
||
Array[String] $forwarders = $::dns::params::forwarders,
|
||
Optional[Variant[String, Boolean]] $listen_on_v6 = $::dns::params::listen_on_v6,
|
||
... | ... | |
Boolean $service_enable = $::dns::params::service_enable,
|
||
Hash[String, Data] $additional_options = $::dns::params::additional_options,
|
||
Array[String] $additional_directives = $::dns::params::additional_directives,
|
||
Boolean $enable_views = $::dns::params::enable_views,
|
||
) inherits dns::params {
|
||
|
||
class { '::dns::install': }
|
Also available in: Unified diff
Add BIND views support
Closes GH-78