private String getJMXProtocolStringFromBool(boolean isHttpsEnabled) {
    return isHttpsEnabled ? "https" : "http";
  }
Create the Ganglia host component property provider for the given type.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java