HomeClusterLabs Projects

Refactor: libcrmcommon, fencer: Fix some option defaults

Description

Refactor: libcrmcommon, fencer: Fix some option defaults

The default value for PCMK_STONITH_HOST_MAP and PCMK_STONITH_HOST_LIST
is NULL (unset), not the empty string.

The default for PCMK_STONITH_HOST_CHECK is more complicated.

PCMK_OPT_DC_VERSION doesn't have a meaningful default (it's not the
literal string PCMK_VALUE_NONE).

PCMK_OPT_CLUSTER_INFRASTRUCTURE's default value depends on what cluster
stacks are supported.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Feb 21 2024, 11:20 PM
Parents
rPebd426ae4aa8: Test: cts-cli: crm_attribute --list-options=cluster with/without --all
Branches
Unknown
Tags
Unknown