@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    ServiceOsSpecific that = (ServiceOsSpecific) o;

    if (osFamily != null ? !osFamily.equals(that.osFamily) : that.osFamily != null) return false;
    if (packages != null ? !packages.equals(that.packages) : that.packages != null) return false;
    if (repo != null ? !repo.equals(that.repo) : that.repo != null) return false;

    return true;
  }
Represents service os-specific details (like repositories and packages). 
Represents <code>osSpecific</code>
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java