Merge "Deprecate support for backend options in [DEFAULT] section"
This commit is contained in:
commit
2d3939fb7a
@ -1,5 +1,7 @@
|
||||
# ==define manila::backend::generic
|
||||
#
|
||||
# Configures Manila to use the generic share driver
|
||||
#
|
||||
# ===Parameters
|
||||
#
|
||||
# [*driver_handles_share_servers*]
|
||||
|
@ -1,5 +1,6 @@
|
||||
# == Class: manila::share::generic
|
||||
#
|
||||
# DEPRECATED !!
|
||||
# Configures Manila to use the generic share driver
|
||||
#
|
||||
# ===Parameters
|
||||
@ -83,6 +84,9 @@ class manila::share::generic (
|
||||
$automatic_share_server_cleanup = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
warning("The manila::share::generic class is deprecated. \
|
||||
Use the manila::backend::generic defined resource type.")
|
||||
|
||||
manila::backend::generic { 'DEFAULT':
|
||||
driver_handles_share_servers => $driver_handles_share_servers,
|
||||
smb_template_config_path => $smb_template_config_path,
|
||||
|
@ -1,5 +1,6 @@
|
||||
# == Class: manila::share::hitachi_hnas
|
||||
#
|
||||
# DEPRECATED !!
|
||||
# Configures Manila to use the HITACHI NAS platform share driver
|
||||
#
|
||||
# === Parameters
|
||||
@ -52,6 +53,9 @@ class manila::share::hitachi_hnas (
|
||||
$driver_handles_share_servers = false,
|
||||
) {
|
||||
|
||||
warning("The manila::share::hitachi_hnas class is deprecated. \
|
||||
Use the manila::backend::hitachi_hnas defined resource type.")
|
||||
|
||||
manila::backend::hitachi_hnas { 'DEFAULT':
|
||||
driver_handles_share_servers => $driver_handles_share_servers,
|
||||
hitachi_hnas_user => $hitachi_hnas_user,
|
||||
|
@ -1,5 +1,6 @@
|
||||
# == Class: manila::share::netapp
|
||||
#
|
||||
# DEPRECATED !!
|
||||
# Configures Manila to use the NetApp share driver
|
||||
#
|
||||
# === Parameters
|
||||
@ -108,6 +109,9 @@ class manila::share::netapp (
|
||||
$netapp_trace_flags = undef,
|
||||
) {
|
||||
|
||||
warning("The manila::share::netapp class is deprecated. \
|
||||
Use the manila::backend::netapp defined resource type.")
|
||||
|
||||
manila::backend::netapp { 'DEFAULT':
|
||||
driver_handles_share_servers => $driver_handles_share_servers,
|
||||
netapp_login => $netapp_login,
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The following classes were formally deprecated. Use
|
||||
the ``manila::backend::*`` defined resource types instead.
|
||||
|
||||
- ``manila::share::generic``
|
||||
- ``manila::share::hitachi_hnas``
|
||||
- ``manila::share::netapp``
|
Loading…
Reference in New Issue
Block a user