better invalid env message
@@ -79,7 +79,10 @@ public class ValidateEnvironmentAnswerElement implements AnswerElement, Serializ
@Override
public String prettyPrint() {
StringBuilder retString =
- new StringBuilder("Results of enviroment processing and validation:\n");
+ new StringBuilder("Results of environment processing and validation:\n");
+ if (!_valid) {
+ retString.append("ENVIRONMENT IS INVALID!\n");
+ }
if (!_undefinedNodeRoleSpecifierNodes.isEmpty()) {
retString.append(PROP_UNDEFINED_NODE_ROLE_SPECIFIER_NODES + ":\n");
for (String hostname : _undefinedNodeRoleSpecifierNodes) {
