HomeClusterLabs Projects

Refactor: libcrmcommon: Rename PCMK__ENV_PHYSICAL_HOST to PCMK__META

Description

Refactor: libcrmcommon: Rename PCMKENV_PHYSICAL_HOST to PCMKMETA

It's not an environment variable, except in the way that all
meta-attributes become environment variables for the resource agent.

We also change from "physical_host" to "physical-host". This won't cause
any resource definition changes, because crm_meta_name() has always
converted the hyphen to an underscore.

This is a special meta-attribute that only Pacemaker should set. Users
should not be setting it; behavior would be undefined, presumably with
Pacemaker overwriting the user-configured value.

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

Details

Provenance
nrwahl2Authored on Dec 29 2023, 3:18 AM
Parents
rPf83ee60f5a8e: API: libcrmcommon: Add new PCMK_META_PRIORITY string constant
Branches
Unknown
Tags
Unknown