pdns4: Validate parameter types

Some of the class parameters can only handle specific data types.

Change-Id: Ic37ec6cf90de6a1d52f96e10f817b63e339ca705
This commit is contained in:
Takashi Kajinami 2023-10-28 12:13:33 +09:00
parent d11f87554d
commit 6a61e9b9a2
1 changed files with 8 additions and 8 deletions

View File

@ -37,14 +37,14 @@
# Defaults to true
#
class designate::backend::pdns4 (
$api_token,
$pdns4_hosts = ['127.0.0.1'],
$pdns4_port = 53,
$mdns_hosts = ['127.0.0.1'],
$mdns_port = 5354,
$api_endpoint = 'http://127.0.0.1:8081',
$tsigkey_name = undef,
Boolean $manage_pool = true,
String[1] $api_token,
Array[String[1]] $pdns4_hosts = ['127.0.0.1'],
$pdns4_port = 53,
Array[String[1]] $mdns_hosts = ['127.0.0.1'],
$mdns_port = 5354,
String[1] $api_endpoint = 'http://127.0.0.1:8081',
Optional[String[1]] $tsigkey_name = undef,
Boolean $manage_pool = true,
) {
include designate::deps