From 72cdf9223b9ce66ad4e0486c44e9c766907b4a51 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 5 Jul 2023 11:51:58 +0900 Subject: [PATCH] replace validate_legacy with proper data types the validate_legacy function is marked for deprecation in v9.0.0 from puppetlabs-stdlib. Change-Id: I3c8257217b5e2b89cf17e10829bf7e225c3c2856 --- manifests/config.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index 28a3b23b..25d564e3 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -28,10 +28,8 @@ # or Puppet catalog compilation will fail with duplicate resources. # class tempest::config ( - $tempest_config = {}, + Hash $tempest_config = {}, ) { - validate_legacy(Hash, 'validate_hash', $tempest_config) - create_resources('tempest_config', $tempest_config) }