From bf91cd59ab2143ff5d8511cdbe3b1758ca2aa984 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Tue, 7 Nov 2023 17:50:38 +0100 Subject: [PATCH] Correct casing of Stdlib::IP::Address While Puppet doesn't appear to care about IP vs Ip, but Kafo does and can't find the correct type. This aligns the usage with the actual name in the file. Fixes: fcbd4267fd83 ("Remove deprecated Stdlib::Compat::* data types") --- REFERENCE.md | 2 +- types/host.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 09b065737..68b7055d6 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -5619,7 +5619,7 @@ Alias of `Pattern[/(?i:\Ahttps?:\/\/.*\z)/]` Validate a host (FQDN or IP address) -Alias of `Variant[Stdlib::Fqdn, Stdlib::Ip::Address]` +Alias of `Variant[Stdlib::Fqdn, Stdlib::IP::Address]` ### `Stdlib::Http::Method` diff --git a/types/host.pp b/types/host.pp index 5b019b73e..46f349bac 100644 --- a/types/host.pp +++ b/types/host.pp @@ -1,2 +1,2 @@ # @summary Validate a host (FQDN or IP address) -type Stdlib::Host = Variant[Stdlib::Fqdn, Stdlib::Ip::Address] +type Stdlib::Host = Variant[Stdlib::Fqdn, Stdlib::IP::Address]