Merge "Use validate_legacy"

This commit is contained in:
Zuul 2019-02-26 02:36:43 +00:00 committed by Gerrit Code Review
commit 16e5b962ef
5 changed files with 5 additions and 6 deletions

View File

@ -26,7 +26,7 @@ class zaqar::config (
include ::zaqar::deps include ::zaqar::deps
validate_hash($zaqar_config) validate_legacy(Hash, 'validate_hash', $zaqar_config)
create_resources('zaqar_config', $zaqar_config) create_resources('zaqar_config', $zaqar_config)
} }

View File

@ -45,7 +45,7 @@ class zaqar::db::mysql(
include ::zaqar::deps include ::zaqar::deps
validate_string($password) validate_legacy(String, 'validate_string', $password)
::openstacklib::db::mysql { 'zaqar': ::openstacklib::db::mysql { 'zaqar':
user => $user, user => $user,

View File

@ -88,7 +88,7 @@ class zaqar::keystone::auth(
include ::zaqar::deps include ::zaqar::deps
validate_string($password) validate_legacy(String, 'validate_string', $password)
keystone::resource::service_identity { 'zaqar': keystone::resource::service_identity { 'zaqar':
configure_user => $configure_user, configure_user => $configure_user,

View File

@ -76,7 +76,7 @@ class zaqar::keystone::auth_websocket(
include ::zaqar::deps include ::zaqar::deps
validate_string($password) validate_legacy(String, 'validate_string', $password)
keystone::resource::service_identity { 'zaqar-websocket': keystone::resource::service_identity { 'zaqar-websocket':
configure_user => $configure_user, configure_user => $configure_user,

View File

@ -31,7 +31,7 @@ class zaqar::policy (
include ::zaqar::deps include ::zaqar::deps
include ::zaqar::params include ::zaqar::params
validate_hash($policies) validate_legacy(Hash, 'validate_hash', $policies)
Openstacklib::Policy::Base { Openstacklib::Policy::Base {
file_path => $policy_path, file_path => $policy_path,
@ -42,5 +42,4 @@ class zaqar::policy (
create_resources('openstacklib::policy::base', $policies) create_resources('openstacklib::policy::base', $policies)
oslo::policy { 'zaqar_config': policy_file => $policy_path } oslo::policy { 'zaqar_config': policy_file => $policy_path }
} }