Skip to content

Commit d8b10ba

Browse files
committed
Remove deprecated Stdlib::Compat
- Increase minimum stdlib to 4.25.0 - Remove `Stdlib::Compat` for `Stdlib::IP::Address::V6::Nosubnet` https://forge.puppet.com/modules/puppetlabs/stdlib/readme
1 parent 7bc0d66 commit d8b10ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/install/rabbitmqadmin.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
if !($management_ip_address) {
4040
# Pull from localhost if we don't have an explicit bind address
4141
$sanitized_ip = '127.0.0.1'
42-
} elsif $management_ip_address =~ Stdlib::Compat::Ipv6 {
42+
} elsif $management_ip_address =~ Stdlib::IP::Address::V6::Nosubnet {
4343
$sanitized_ip = join(enclose_ipv6(any2array($management_ip_address)), ',')
4444
} else {
4545
$sanitized_ip = $management_ip_address

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"dependencies": [
5858
{
5959
"name": "puppetlabs/stdlib",
60-
"version_requirement": ">= 4.13.1 < 9.0.0"
60+
"version_requirement": ">= 4.25.0 < 9.0.0"
6161
},
6262
{
6363
"name": "puppet/archive",

0 commit comments

Comments
 (0)