@Override
  public int compareTo(StackInfo o) {
    if (name.equals(o.name)) {
      return VersionUtils.compareVersions(version, o.version);
    }
    return name.compareTo(o.name);
  }
Set config upgrade pack for stack
@param configUpgradePack config upgrade pack for stack or null if it is
not defined
ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java