diff --git a/python/pacemaker/buildoptions.py.in b/python/pacemaker/buildoptions.py.in index a97640cd32..c3a66ef07c 100644 --- a/python/pacemaker/buildoptions.py.in +++ b/python/pacemaker/buildoptions.py.in @@ -1,65 +1,83 @@ """A module providing information on build-time configuration of pacemaker.""" __all__ = ["BuildOptions"] __copyright__ = "Copyright 2023-2024 the Pacemaker project contributors" __license__ = "GNU Lesser General Public License version 2.1 or later (LGPLv2.1+)" class BuildOptions: """ Variables generated as part of the ./configure && make process. These affect how pacemaker was configured and where its various parts get installed. """ BASH_PATH = "@BASH_PATH@" """Path to the bash shell.""" _BUILD_DIR = "@abs_top_builddir@" """ Top-level build directory. NOTE: This is not especially useful on installed systems, but is useful for running various programs from a source checkout """ CIB_DIR = "@CRM_CONFIG_DIR@" """Where CIB files are stored.""" CIB_SCHEMA_VERSION = "@CIB_VERSION@" """Latest supported CIB schema version number.""" COROSYNC_CONFIG_FILE = "@PCMK__COROSYNC_CONF@" """Path to the corosync config file.""" DAEMON_DIR = "@CRM_DAEMON_DIR@" """Where Pacemaker daemons are installed.""" DAEMON_USER = "@CRM_DAEMON_USER@" """User to run Pacemaker daemons as.""" + DATA_DIR = "@datadir@" + """Where read-only architecture-independent data is stored.""" + + _FENCE_BINDIR = "@PCMK__FENCE_BINDIR@" + """Where executable fence agents are installed.""" + + INIT_DIR = "@INITDIR@" + """Where LSB init scripts are stored.""" + + LIBEXEC_DIR = "@libexecdir@" + """Where programs started by other programs are stored.""" + LOCAL_STATE_DIR = "@localstatedir@" """Where miscellaneous temporary state files are stored.""" LOG_DIR = "@CRM_LOG_DIR@" """Where Pacemaker log files are stored.""" OCF_RA_INSTALL_DIR = "@OCF_RA_INSTALL_DIR@" """Where resource agents are installed.""" OCF_ROOT_DIR = "@OCF_ROOT_DIR@" """Root directory for OCF resource agents and libraries.""" RSC_TMP_DIR = "@CRM_RSCTMP_DIR@" """Where resource agents should keep state files.""" # pylint: disable=comparison-of-constants REMOTE_ENABLED = "@PC_NAME_GNUTLS@" != "" """True if Pacemaker Remote support is enabled.""" + RUNTIME_STATE_DIR = "@runstatedir@" + """Where runtime data is stored.""" + SBIN_DIR = "@sbindir@" """Where administrative programs are installed.""" SCHEMA_DIR = "@CRM_SCHEMA_DIRECTORY@" """Where Relax-NG schema files are stored.""" + + UNIT_DIR = "@systemdsystemunitdir@" + """Where system-wide systemd unit files are stored."""