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
This commit is contained in:
Takashi Kajinami 2023-07-05 11:51:58 +09:00
parent dba9c49f43
commit 72cdf9223b
1 changed files with 1 additions and 3 deletions

View File

@ -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)
}