Problem/Motivation
The Configuration Update Base (config_update) module, part of the Configuration Update Manager package, provides a method to revert a configuration item to its currently provided state. A ConfigRevertInterface::REVERT event is dispatched when an item is reverted.
If a rewrite is present, likely the expected outcome is that the rewrite is reapplied when a revert occurs.
Proposed resolution
Subscribe to ConfigRevertInterface::REVERT event, reapplying any rewrites for the given item.
Comments
Comment #2
nedjoApologies for the relative flood of issues here, pretty much just wanting to jot down notes before I forget them!
Comment #3
nedjoPostponed pending #2829511: Write tests for rewrites and refactoring in #2841961: Pull rewrite code into a service.
Comment #4
saltednut