Merge "Replace remaining validate_legacy"
This commit is contained in:
commit
72cc48f921
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue