Expose heat::engine::max_nested_stack_depth
This is required for TripleO to use a value other than the default 5. Change-Id: I998f3a1a89ce4bc4c3926a83adec1929addeab24
This commit is contained in:
parent
41ccdeb852
commit
edf6623d8c
|
@ -105,6 +105,10 @@
|
|||
# (Optional) The directory to search for template files.
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# [*max_nested_stack_depth*]
|
||||
# (Optional) Maximum depth allowed when using nested stacks.
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
class heat::engine (
|
||||
$auth_encryption_key,
|
||||
$package_ensure = 'present',
|
||||
|
@ -126,6 +130,7 @@ class heat::engine (
|
|||
$convergence_engine = $::os_service_default,
|
||||
$environment_dir = $::os_service_default,
|
||||
$template_dir = $::os_service_default,
|
||||
$max_nested_stack_depth = $::os_service_default,
|
||||
) {
|
||||
|
||||
include ::heat::deps
|
||||
|
@ -183,5 +188,6 @@ class heat::engine (
|
|||
'DEFAULT/convergence_engine': value => $convergence_engine;
|
||||
'DEFAULT/environment_dir': value => $environment_dir;
|
||||
'DEFAULT/template_dir': value => $template_dir;
|
||||
'DEFAULT/max_nested_stack_depth': value => $max_nested_stack_depth;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
other:
|
||||
- Management of heat configuration is now optional for
|
||||
heat::keystone::max_nested_stack_depth which allows
|
||||
the maximum depth of nested stacks to be set.
|
|
@ -17,6 +17,7 @@ describe 'heat::engine' do
|
|||
:convergence_engine => '<SERVICE DEFAULT>',
|
||||
:environment_dir => '<SERVICE DEFAULT>',
|
||||
:template_dir => '<SERVICE DEFAULT>',
|
||||
:max_nested_stack_depth => '<SERVICE DEFAULT>',
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue