| 46 | enum action_fail_response *failed, pe_working_set_t * data_set); |
| 47 | |
| 48 | static void |
| 49 | pe_fence_node(pe_working_set_t * data_set, node_t * node, const char *reason) |
| 50 | { |
| 51 | CRM_CHECK(node, return); |
| 52 | if (node->details->unclean == FALSE) { |
| 53 | if (is_set(data_set->flags, pe_flag_stonith_enabled)) { |
| 54 | crm_warn("Node %s will be fenced %s", node->details->uname, reason); |
| 55 | } else { |
| 56 | crm_warn("Node %s is unclean %s", node->details->uname, reason); |
| 57 | } |
| 58 | } |
| 59 | node->details->unclean = TRUE; |
| 60 | } |
| 61 | |
| 62 | gboolean |
| 63 | unpack_config(xmlNode * config, pe_working_set_t * data_set) |
no test coverage detected