Merge "Use validate_legacy"
This commit is contained in:
commit
b290eef735
|
@ -30,8 +30,8 @@ class aodh::config (
|
|||
|
||||
include ::aodh::deps
|
||||
|
||||
validate_hash($aodh_config)
|
||||
validate_hash($aodh_api_paste_ini)
|
||||
validate_legacy(Hash, 'validate_hash', $aodh_config)
|
||||
validate_legacy(Hash, 'validate_hash', $aodh_api_paste_ini)
|
||||
|
||||
create_resources('aodh_config', $aodh_config)
|
||||
create_resources('aodh_api_paste_ini', $aodh_api_paste_ini)
|
||||
|
|
|
@ -45,7 +45,7 @@ class aodh::db::mysql(
|
|||
|
||||
include ::aodh::deps
|
||||
|
||||
validate_string($password)
|
||||
validate_legacy(String, 'validate_string', $password)
|
||||
|
||||
::openstacklib::db::mysql { 'aodh':
|
||||
user => $user,
|
||||
|
|
|
@ -31,7 +31,7 @@ class aodh::policy (
|
|||
include ::aodh::deps
|
||||
include ::aodh::params
|
||||
|
||||
validate_hash($policies)
|
||||
validate_legacy(Hash, 'validate_hash', $policies)
|
||||
|
||||
Openstacklib::Policy::Base {
|
||||
file_path => $policy_path,
|
||||
|
|
Loading…
Reference in New Issue