puppet-cinder/manifests/backup/tsm.pp
Takashi Kajinami e242bd747d Deprecate support for TSM Backup driver
... because TSM Backup driver was already removed from cinder[1].

[1] cddcc6e5073ec891b4d7aa4191fab56a05c74089

Change-Id: Ie4580205b965fc51c314500a0a075b13d2a02172
2021-01-13 22:34:48 +09:00

53 lines
1.6 KiB
Puppet

# == Class: cinder::backup::tsm
# DEPRECATED !
# Setup Cinder to backup volumes into the Tivoli Storage Manager (TSM)
#
# === Parameters
#
# [*backup_driver*]
# (Optional) The backup driver for tsm backend.
# Defaults to 'cinder.backup.drivers.tsm.TSMBackupDriver'.
#
# [*backup_tsm_volume_prefix*]
# (optional) Volume prefix for the backup id when backing up to TSM.
# Defaults to $::os_service_default
#
# [*backup_tsm_password*]
# (optional) TSM password for the running username.
# Defaults to $::os_service_default
#
# [*backup_tsm_compression*]
# (optional) Enable or Disable compression for backups.
# Defaults to $::os_service_default
#
# === Author(s)
#
# Nate Potter <nathaniel.potter@intel.com>
#
# === Copyright
#
# Copyright (C) 2016 Intel
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
#
class cinder::backup::tsm (
$backup_driver = 'cinder.backup.drivers.tsm.TSMBackupDriver',
$backup_tsm_volume_prefix = $::os_service_default,
$backup_tsm_password = $::os_service_default,
$backup_tsm_compression = $::os_service_default,
) {
warning('Support for tsm backup driver has been deprecated and has no effect')
}