1 /* include/crm_config.h. Generated from crm_config.h.in by configure. */ 2 /* 3 * Copyright 2006-2024 the Pacemaker project contributors 4 * 5 * The version control history for this file may have further details. 6 * 7 * This source code is licensed under the GNU General Public License version 2 8 * or later (GPLv2+) WITHOUT ANY WARRANTY. 9 */ 10 11 #ifndef PCMK__CRM_CONFIG__H 12 #define PCMK__CRM_CONFIG__H 13 14 /****** Versions ******/ 15 16 /* Current pacemaker version */ 17 #define PACEMAKER_VERSION "2.1.9" 18 19 /* Build version */ 20 #define BUILD_VERSION "49aab99839" 21 22 /****** Other ******/ 23 24 /* Group to run Pacemaker daemons as */ 25 #define CRM_DAEMON_GROUP "haclient" 26 27 /* User to run Pacemaker daemons as */ 28 #define CRM_DAEMON_USER "hacluster" 29 30 /****** Directories ******/ 31 32 /* Where Pacemaker can store log files */ 33 #define CRM_LOG_DIR "/var/log/pacemaker" 34 35 /* Location for Pacemaker daemons */ 36 #define CRM_DAEMON_DIR "/usr/libexec/pacemaker" 37 38 /* Where to keep blackbox dumps */ 39 #define CRM_BLACKBOX_DIR "/var/lib/pacemaker/blackbox" 40 41 /* Where to keep configuration files */ 42 #define CRM_CONFIG_DIR "/var/lib/pacemaker/cib" 43 44 /* Where to keep scheduler outputs */ 45 #define PE_STATE_DIR "/var/lib/pacemaker/pengine" 46 47 // NOTE: sbd (as of at least 1.5.2) uses this 48 /* Location to store core files produced by Pacemaker daemons */ 49 #define CRM_CORE_DIR "/var/lib/pacemaker/cores" 50 51 /* Where to keep state files and sockets */ 52 #define CRM_STATE_DIR "/run/crm" 53 54 /* Location for the Pacemaker Relax-NG Schema */ 55 #define CRM_SCHEMA_DIRECTORY "/usr/share/pacemaker" 56 57 /* Where to keep configuration files like authkey */ 58 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker" 59 60 /* Where OCF resource agents and libraries can be found */ 61 #define OCF_ROOT_DIR "/usr/lib/ocf" 62 63 /****** Features ******/ 64 65 /* Set of enabled features */ 66 #define CRM_FEATURES "agent-manpages ascii-docs books cibsecrets corosync-ge-2 default-concurrent-fencing default-resource-stickiness generated-manpages lsb monotonic nagios ncurses nls pam remote service systemd" 67 68 // NOTE: sbd (as of at least 1.5.2) uses this 69 /* Support the Corosync messaging and membership layer */ 70 #define SUPPORT_COROSYNC 1 71 72 /* Support systemd based system services */ 73 #define SUPPORT_SYSTEMD 1 74 75 /* Support upstart based system services */ 76 //! \deprecated Do not use (always treat as 0) 77 #define SUPPORT_UPSTART 0 78 79 #endif /* CRM_CONFIG__H */