puppet-cinder/manifests/type_set.pp
Tobias Urdin 5c5a7dbf95 Remove deprecated parameters
Removes deprecated parameters that has been
deprecated for one cycle or more.

Change-Id: I286a593f0e68dc9e60852674d2fa14551acb1bbb
2018-05-20 17:20:07 +02:00

32 lines
577 B
Puppet

# ==Define: cinder::type_set
#
# Assigns keys after the volume type is set.
# Deprecated class.
#
# === Parameters
#
# [*type*]
# (required) Accepts single name of type to set.
#
# [*key*]
# (required) the key name that we are setting the value for.
#
# [*value*]
# the value that we are setting. Defaults to content of namevar.
#
# Author: Andrew Woodward <awoodward@mirantis.com>
#
define cinder::type_set (
$type,
$key,
$value = $name,
) {
include ::cinder::deps
cinder_type { $type:
ensure => present,
properties => ["${key}=${value}"],
}
}