Skip to content

Commit

Permalink
Merge pull request #186 from ekohl/update-type
Browse files Browse the repository at this point in the history
Use IPv6 type validation for $nameservers_ipv6
  • Loading branch information
bastelfreak authored Jun 21, 2018
2 parents ebb66a3 + 84ef752 commit 9e53f72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
class dhcp (
Optional[Array[String]] $dnsdomain = undef,
Array[Stdlib::Compat::Ipv4] $nameservers = [ '8.8.8.8', '8.8.4.4' ],
# the ipv6 regex is currently wrong so we can't use it here
# https://github.com/puppetlabs/puppetlabs-stdlib/pull/731
#Array[Stdlib::Compat::Ipv6] $nameservers_ipv6 = [],
Array[String] $nameservers_ipv6 = [],
Array[Stdlib::Compat::Ipv6] $nameservers_ipv6 = [],
Array[String] $ntpservers = [],
Array[String] $dnssearchdomains = [],
String $dhcp_conf_header = 'INTERNAL_TEMPLATE',
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.13.1 < 5.0.0"
"version_requirement": ">= 4.16.0 < 5.0.0"
},
{
"name": "puppetlabs/concat",
Expand Down

0 comments on commit 9e53f72

Please sign in to comment.