Merge "Replace remaining validate_legacy"

This commit is contained in:
Zuul 2023-07-14 16:15:17 +00:00 committed by Gerrit Code Review
commit 72cc48f921
3 changed files with 1 additions and 7 deletions

View File

@ -113,8 +113,6 @@ define manila::backend::dellemc_unity (
include manila::deps
include manila::params
validate_legacy(String, 'validate_string', $emc_nas_password)
$unity_share_driver = 'manila.share.drivers.dell_emc.driver.EMCShareDriver'
manila_config {

View File

@ -135,8 +135,6 @@ define manila::backend::netapp (
include manila::deps
include manila::params
validate_legacy(String, 'validate_string', $netapp_password)
$netapp_share_driver = 'manila.share.drivers.netapp.common.NetAppDriver'
manila_config {

View File

@ -222,7 +222,7 @@ class manila (
$amqp_durable_queues = $facts['os_service_default'],
$rabbit_heartbeat_in_pthread = $facts['os_service_default'],
$package_ensure = 'present',
$use_ssl = false,
Boolean $use_ssl = false,
$ca_file = false,
$cert_file = false,
$key_file = false,
@ -256,8 +256,6 @@ class manila (
include manila::deps
include manila::db
validate_legacy(Boolean, 'validate_bool', $use_ssl)
if $use_ssl {
if !$cert_file {
fail('The cert_file parameter is required when use_ssl is set to true')