def _apply_persona(self, component, persona):
        for conf in ('general', component):
            if persona is not None:
                # Note: any additional redefines could be added here.
                persona_specific = persona.component_options.get(component, {})
                try:
                    self._base_loader.update_cache(conf, persona_specific)
                except exceptions.YamlConfigNotFoundException:
                    LOG.warn("Unable to update the loaders cache with"
                             " component '%s' configuration using"
                             " persona specific data: %s", conf,
                             persona_specific, exc_info=True)
Apply persona specific options according to component.
dataset/ETHPy150Open openstack/anvil/anvil/cfg.py/YamlMergeLoader._apply_persona