Files
puppet-oslo/manifests/os_brick.pp
Takashi Kajinami 7e187f637a Add common implementation to manage [os_brick] options
The os-brick library now supports its own lock_path configuration. This
adds the defined resource type to manage the option so that we can
reuse this implementation in some modules.

Depends-on: https://review.opendev.org/c/openstack/os-brick/+/849324
Change-Id: Iae1c155692fec845a8cab0ae284eeeaaf3336962
2022-11-28 09:54:20 +09:00

20 lines
388 B
Puppet

# == Define: oslo::os_brick
#
# Configure os_brick options
#
# === Parameters:
#
# [*lock_path*]
# (Optional) Directory to use for os-brick lock files.
# Defaults to $::os_service_default
#
define oslo::os_brick(
$lock_path = $::os_service_default,
) {
$os_brick_options = {
'os_brick/lock_path' => { value => $lock_path },
}
create_resources($name, $os_brick_options)
}