Puppet Class: nsd::remote
- Defined in:
- manifests/remote.pp
Overview
Class: nsd::remote
Configure remote control of the nsd daemon process
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/remote.pp', line 5
class nsd::remote (
Boolean $enable = true,
Array[String] $interface = ['::1', '127.0.0.1'],
Integer $port = 8952,
Optional[Stdlib::Absolutepath] $server_key_file = undef,
Optional[Stdlib::Absolutepath] $server_cert_file = undef,
Optional[Stdlib::Absolutepath] $control_key_file = undef,
Optional[Stdlib::Absolutepath] $control_cert_file = undef,
) {
include nsd
$config_file = $nsd::config_file
concat::fragment { 'nsd-remote':
order => '10',
target => $config_file,
content => template('nsd/remote.erb'),
}
}
|