puppet-oslo/manifests/os_brick.pp
Takashi Kajinami 548d68cf35 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf
2023-03-02 12:37:35 +09:00

20 lines
402 B
Puppet

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