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:
parent
dba9c49f43
commit
72cdf9223b
|
@ -28,10 +28,8 @@
|
||||||
# or Puppet catalog compilation will fail with duplicate resources.
|
# or Puppet catalog compilation will fail with duplicate resources.
|
||||||
#
|
#
|
||||||
class tempest::config (
|
class tempest::config (
|
||||||
$tempest_config = {},
|
Hash $tempest_config = {},
|
||||||
) {
|
) {
|
||||||
|
|
||||||
validate_legacy(Hash, 'validate_hash', $tempest_config)
|
|
||||||
|
|
||||||
create_resources('tempest_config', $tempest_config)
|
create_resources('tempest_config', $tempest_config)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue