pacemaker.buildoptions.BuildOptions

class pacemaker.buildoptions.BuildOptions

Bases: object

Variables generated as part of the ./configure && make process.

These affect how pacemaker was configured and where its various parts get installed.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Attributes

BASH_PATH Path to the bash shell.
CIB_DIR Where CIB files are stored.
CIB_SCHEMA_VERSION Latest supported CIB schema version number.
COROSYNC_CONFIG_FILE Path to the corosync config file.
DAEMON_DIR Where Pacemaker daemons are installed.
DAEMON_USER User to run Pacemaker daemons as.
DATA_DIR Where read-only architecture-independent data is stored.
INIT_DIR Where LSB init scripts are stored.
LIBEXEC_DIR Where programs started by other programs are stored.
LOCAL_STATE_DIR Where miscellaneous temporary state files are stored.
LOG_DIR Where Pacemaker log files are stored.
OCF_RA_INSTALL_DIR Where resource agents are installed.
OCF_ROOT_DIR Root directory for OCF resource agents and libraries.
PACEMAKER_CONFIG_DIR Where configuration files such as authkey are kept.
REMOTE_ENABLED True if Pacemaker Remote support is enabled.
RSC_TMP_DIR Where resource agents should keep state files.
RUNTIME_STATE_DIR Where runtime data is stored.
SBIN_DIR Where administrative programs are installed.
SCHEMA_DIR Where Relax-NG schema files are stored.
UNIT_DIR Where system-wide systemd unit files are stored.
XMLLINT_PATH Path to the xmllint program.
BASH_PATH = '/usr/bin/bash'

Path to the bash shell.

CIB_DIR = '/var/lib/pacemaker/cib'

Where CIB files are stored.

CIB_SCHEMA_VERSION = '4.0'

Latest supported CIB schema version number.

COROSYNC_CONFIG_FILE = '/etc/corosync/corosync.conf'

Path to the corosync config file.

DAEMON_DIR = '/usr/libexec/pacemaker'

Where Pacemaker daemons are installed.

DAEMON_USER = 'hacluster'

User to run Pacemaker daemons as.

DATA_DIR = '/usr/share'

Where read-only architecture-independent data is stored.

INIT_DIR = '/etc/init.d'

Where LSB init scripts are stored.

LIBEXEC_DIR = '/usr/libexec'

Where programs started by other programs are stored.

LOCAL_STATE_DIR = '/var'

Where miscellaneous temporary state files are stored.

LOG_DIR = '/var/log/pacemaker'

Where Pacemaker log files are stored.

OCF_RA_INSTALL_DIR = '/usr/lib/ocf/resource.d'

Where resource agents are installed.

OCF_ROOT_DIR = '/usr/lib/ocf'

Root directory for OCF resource agents and libraries.

PACEMAKER_CONFIG_DIR = '/etc/pacemaker'

Where configuration files such as authkey are kept.

REMOTE_ENABLED = True

True if Pacemaker Remote support is enabled.

RSC_TMP_DIR = '/run/resource-agents'

Where resource agents should keep state files.

RUNTIME_STATE_DIR = '/run'

Where runtime data is stored.

SBIN_DIR = '/usr/sbin'

Where administrative programs are installed.

SCHEMA_DIR = '/usr/share/pacemaker'

Where Relax-NG schema files are stored.

UNIT_DIR = '/usr/lib/systemd/system'

Where system-wide systemd unit files are stored.

XMLLINT_PATH = '/usr/bin/xmllint'

Path to the xmllint program.