From c961197d3428eb20f348f1bde18be16b7008e4ac Mon Sep 17 00:00:00 2001 From: Xingchao Yu Date: Fri, 22 Jan 2016 19:34:25 +0800 Subject: [PATCH] Change default value to $::os_service_default The following define has been changed: - oslo::concurrency - oslo::versionedobjects --- manifests/concurrency.pp | 8 ++++---- manifests/versionedobjects.pp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/concurrency.pp b/manifests/concurrency.pp index afcd540..563274c 100644 --- a/manifests/concurrency.pp +++ b/manifests/concurrency.pp @@ -9,17 +9,17 @@ # # [*disable_process_locking*] # (Optional) Enables or disables inter-process locks. -# Defaults to false. +# Defaults to $::os_service_default. # # [*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. -# Defaults to undef. +# Defaults to $::os_service_default. # define oslo::concurrency( - $disable_process_locking = false, - $lock_path = undef, + $disable_process_locking = $::os_service_default, + $lock_path = $::os_service_default, ) { create_resources($name, {'oslo_concurrency/disable_process_locking' => { value => $disable_process_locking }}) create_resources($name, {'oslo_concurrency/lock_path' => { value => $lock_path }}) diff --git a/manifests/versionedobjects.pp b/manifests/versionedobjects.pp index e625fee..12a4a25 100644 --- a/manifests/versionedobjects.pp +++ b/manifests/versionedobjects.pp @@ -9,10 +9,10 @@ # # [*fatal_exception_format_errors*] # (Optional) Make exception message format errors fatal. -# Defaults to false. +# Defaults to $::os_service_default. # define oslo::versionedobjects( - $fatal_exception_format_errors = false, + $fatal_exception_format_errors = $::os_service_default, ) { create_resources($name, {'oslo_versionedobjects/fatal_exception_format_errors' => { value => $fatal_exception_format_errors }}) }