1 /* include/crm_config.h. Generated from crm_config.h.in by configure. */ 2 /* 3 * Copyright 2006-2021 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 CRM_CONFIG__H 12 #define CRM_CONFIG__H 13 14 /****** Versions ******/ 15 16 /* Current pacemaker version */ 17 #define PACEMAKER_VERSION "2.1.2" 18 19 /* Build version */ 20 #define BUILD_VERSION "ada5c3b36" 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 /* Location to store core files produced by Pacemaker daemons */ 48 #define CRM_CORE_DIR "/var/lib/pacemaker/cores" 49 50 /* Where to keep state files and sockets */ 51 #define CRM_STATE_DIR "/var/run/crm" 52 53 /* Location for the Pacemaker Relax-NG Schema */ 54 #define CRM_SCHEMA_DIRECTORY "/usr/share/pacemaker" 55 56 /* Where to keep configuration files like authkey */ 57 #define PACEMAKER_CONFIG_DIR "/etc/pacemaker" 58 59 /* Where OCF resource agents and libraries can be found */ 60 #define OCF_ROOT_DIR "/usr/lib/ocf" 61 62 /****** Features ******/ 63 64 /* Set of enabled features */ 65 #define CRM_FEATURES "agent-manpages ascii-docs books cibsecrets compat-2.0 corosync-ge-2 generated-manpages monotonic nagios ncurses remote systemd" 66 67 /* Support the Corosync messaging and membership layer */ 68 #define SUPPORT_COROSYNC 1 69 70 /* Support systemd based system services */ 71 #define SUPPORT_SYSTEMD 1 72 73 /* Support upstart based system services */ 74 #define SUPPORT_UPSTART 0 75 76 #endif /* CRM_CONFIG__H */