Merge "Use validate_legacy"
This commit is contained in:
commit
16e5b962ef
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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 }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user