puppet-cinder/manifests/qos.pp
Tobias Urdin 1e1be4fb56 Convert all class usage to relative names
Change-Id: Ib509c510e3e5ed19fbb1b5f68a060cde02d82eab
2019-12-08 23:02:56 +01:00

34 lines
689 B
Puppet

# == Define: cinder::qos
#
# Creates cinder QOS and assigns properties and volume type
#
# === Parameters
#
# [*associations*]
# (optional) List of cinder type associated with this QOS
# Defaults to 'undef'.
#
# [*consumer*]
# (optional) QOS consumer parameter (typicaly front-end/back-end/both)
# Defaults to 'undef'.
#
# [*properties*]
# (optional) List QOS properties
# Defaults to 'undef'.
#
define cinder::qos (
$associations = undef,
$consumer = undef,
$properties = undef,
) {
include cinder::deps
cinder_qos { $name:
ensure => present,
properties => $properties,
consumer => $consumer,
associations => $associations,
}
}