Defined Type: oslo::concurrency
- Defined in:
- manifests/concurrency.pp
Overview
Define: oslo::concurrency
Configure oslo_concurrency options
This resource configures Oslo concurrency resources for an OpenStack service. It will manage the [oslo_concurrency] section in the given config resource.
Parameters:
- disable_process_locking
-
(Optional) Enables or disables inter-process locks. (boolean value) Defaults to $facts.
- lock_path
-
(Optional) Directory to use for lock files. For security, the specified directory should only be writable by the user running the processes that need locking. If external locks are used, a lock path must be set. (string value) Defaults to $facts.
20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/concurrency.pp', line 20 define oslo::concurrency( $disable_process_locking = $facts['os_service_default'], $lock_path = $facts['os_service_default'], ) { $concurrency_options = { 'oslo_concurrency/disable_process_locking' => { value => $disable_process_locking }, 'oslo_concurrency/lock_path' => { value => $lock_path } } create_resources($name, $concurrency_options) } |