diff --git a/manifests/init.pp b/manifests/init.pp index 3d31dbf0..ad86ce3f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -387,7 +387,7 @@ Integer[0] $dns_ttl = 86400, String $dns_tsig_keytab = $foreman_proxy::params::dns_tsig_keytab, String $dns_tsig_principal = $foreman_proxy::params::dns_tsig_principal, - Array[String] $dns_forwarders = [], + Array[Dns::Forwarder] $dns_forwarders = [], String $libvirt_network = 'default', String $libvirt_connection = 'qemu:///system', Boolean $bmc = false, diff --git a/manifests/proxydns.pp b/manifests/proxydns.pp index db74cd82..7c657df6 100644 --- a/manifests/proxydns.pp +++ b/manifests/proxydns.pp @@ -19,7 +19,7 @@ # entry. # class foreman_proxy::proxydns ( - Array[String] $forwarders = $foreman_proxy::dns_forwarders, + Array[Dns::Forwarder] $forwarders = $foreman_proxy::dns_forwarders, String $interface = $foreman_proxy::dns_interface, Stdlib::Fqdn $forward_zone = $foreman_proxy::dns_zone, Optional[Variant[Boolean, String, Array[String]]] $reverse_zone = $foreman_proxy::dns_reverse, diff --git a/metadata.json b/metadata.json index 91b484d0..6cf0a6a4 100644 --- a/metadata.json +++ b/metadata.json @@ -20,7 +20,7 @@ "dependencies": [ { "name": "theforeman/dns", - "version_requirement": ">= 8.1.0 < 11.0.0" + "version_requirement": ">= 11.0.0 < 12.0.0" }, { "name": "theforeman/dhcp",