Merge "Allow to set pacemaker cluster properties"

This commit is contained in:
Zuul 2021-09-21 09:19:30 +00:00 committed by Gerrit Code Review
commit 00ba3c15a9
1 changed files with 13 additions and 0 deletions

View File

@ -112,6 +112,18 @@ parameters:
safer value of 120s.
constraints:
- allowed_pattern: "([1-9][0-9]*s)"
PacemakerProperties:
type: json
description: |
Pacemaker properties that are set at cluster creation
step. The JSON should have the following structure:
{
'stonith-timeout': {
property: 'stonith-timeout'
value: '120s'
}
}
default: {}
conditions:
pcmk_tls_priorities_set:
@ -147,6 +159,7 @@ outputs:
tripleo::fencing::deep_compare: true
enable_fencing: {get_param: EnableFencing}
hacluster_pwd: {get_param: PcsdPassword}
tripleo::profile::base::pacemaker::cluster_properties: {get_param: PacemakerProperties}
tripleo::profile::base::pacemaker::remote_authkey: {get_param: PacemakerRemoteAuthkey}
tripleo::profile::base::pacemaker::pcsd_bind_addr:
str_replace: