value = param_value(config, "stonith_enabled"); if(value != NULL) { crm_str_to_boolean(value, &stonith_enabled); } crm_info("STONITH of failed nodes is %s", stonith_enabled?"enabled":"disabled");  value = param_value(config, "symetrical_cluster"); if(value != NULL) { crm_str_to_boolean(value, &symetric_cluster); } if(symetric_cluster) { crm_info("Cluster is symetric" " - resources can run anywhere by default"); }  value = param_value(config, "require_quorum"); if(value != NULL) { crm_str_to_boolean(value, &require_quorum); } if(require_quorum) { crm_info("Quorum required for fencing and resource management"); }
unpack_config(crm_data_t * config){	const char *value = NULL;		value = param_value(config, "failed_nodes");	if(safe_str_eq(value, XML_CIB_ATTR_STONITH)) {		crm_debug("Enabling STONITH of failed nodes");		stonith_enabled = TRUE;	} else {		stonith_enabled = FALSE;	}	value = param_value(config, "transition_timeout");	if(value != NULL) {		int tmp = atoi(value);		if(tmp > 0) {			transition_timeout = value;		} else {			crm_warn("Invalid value for %s: %s",				 "transition_timeout", value);		}	}	crm_devel("%s set to: %s",		 "transition_timeout", transition_timeout);		return TRUE;}