548d68cf35
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf
20 lines
402 B
Puppet
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)
|
|
}
|