
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: I309dc0910bf7111cba3aaa58688b862590043973
22 lines
526 B
Puppet
22 lines
526 B
Puppet
# == Class: cinder::backend::defaults
|
|
#
|
|
# Cinder backend defaults
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*use_multipath_for_image_xfer*]
|
|
# (Optional) Whether to use multipath during create-volume-from-image and
|
|
# copy-volume-to-image operations.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class cinder::backend::defaults (
|
|
$use_multipath_for_image_xfer = $facts['os_service_default'],
|
|
) {
|
|
|
|
include cinder::deps
|
|
|
|
cinder_config {
|
|
'backend_defaults/use_multipath_for_image_xfer': value => $use_multipath_for_image_xfer;
|
|
}
|
|
}
|