private void finalizeConfiguration() {
    LOG.debug("Finalize config, number of configuration modules {}", configurationModules.size());
    hasConfigs = !(configurationModules.isEmpty());
    LOG.debug("Finalize config, hasConfigs {}", hasConfigs);

    for (ConfigurationModule config : configurationModules.values()) {
      ConfigurationInfo configInfo = config.getModuleInfo();
      configInfo.ensureDefaultAttributes();
      serviceInfo.setTypeAttributes(config.getConfigType(), configInfo.getAttributes());
    }
  }
Finalize service configurations.
Ensure that all default type attributes are set.
ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceModule.java