Puppet Class: cinder::backup::tsm

Defined in:
manifests/backup/tsm.pp

Overview

Class: cinder::backup::tsm

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’.

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 © 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.

Parameters:

  • backup_driver (Any) (defaults to: 'cinder.backup.drivers.tsm')
  • backup_tsm_volume_prefix (Any) (defaults to: $::os_service_default)
  • backup_tsm_password (Any) (defaults to: $::os_service_default)
  • backup_tsm_compression (Any) (defaults to: $::os_service_default)


44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'manifests/backup/tsm.pp', line 44

class cinder::backup::tsm (
  $backup_driver            = 'cinder.backup.drivers.tsm',
  $backup_tsm_volume_prefix = $::os_service_default,
  $backup_tsm_password      = $::os_service_default,
  $backup_tsm_compression   = $::os_service_default,
) {

  include ::cinder::deps

  cinder_config {
    'DEFAULT/backup_driver':            value => $backup_driver;
    'DEFAULT/backup_tsm_volume_prefix': value => $backup_tsm_volume_prefix;
    'DEFAULT/backup_tsm_password':      value => $backup_tsm_password;
    'DEFAULT/backup_tsm_compression':   value => $backup_tsm_compression;
  }

}