diff --git a/manifests/config.pp b/manifests/config.pp index 47aecba8..28a3b23b 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -31,7 +31,7 @@ class tempest::config ( $tempest_config = {}, ) { - validate_hash($tempest_config) + validate_legacy(Hash, 'validate_hash', $tempest_config) create_resources('tempest_config', $tempest_config) } diff --git a/manifests/init.pp b/manifests/init.pp index d5dedc83..f9386b03 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -372,7 +372,7 @@ class tempest( ) { if !is_service_default($tempest_roles) and !empty($tempest_roles){ - validate_array($tempest_roles) + validate_legacy(Array, 'validate_array', $tempest_roles) $tempest_roles_real = join($tempest_roles, ',') } else { $tempest_roles_real = $::os_service_default