Puppet Class: openstack::cinder::backup

Defined in:
modules/openstack/manifests/cinder/backup.pp

Overview

Parameters:

  • version (String)
  • active (Boolean)


1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'modules/openstack/manifests/cinder/backup.pp', line 1

class openstack::cinder::backup (
    String  $version,
    Boolean $active,
) {
    require "openstack::serverpackages::${version}::${::lsbdistcodename}"
    ensure_packages('cinder-backup')
    require "openstack::cinder::config::${version}"

    service { 'cinder-backup':
        ensure    => $active,
        subscribe => Class["openstack::cinder::config::${version}"],
    }
}