# ==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 # define cinder::type_set ( $type, $key, $value = $name, ) { include cinder::deps warning('The cinder::type_set class is deprecated, please use the cinder_type resource instead.') cinder_type { $type: ensure => present, properties => ["${key}=${value}"], } }