Replace remaining validate_legacy

These were somehow overlooked during the previous attempt.

Change-Id: I64e9446c5e2efac9daa96f5d043975b3c6cf3e82
This commit is contained in:
Takashi Kajinami
2023-07-13 22:06:37 +09:00
parent fd90649c82
commit c28186183b
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')