Refactoring onlyif/unless - generalized with fallback? #55938
Labels
Bug
broken, incorrect, or confusing behavior
severity-high
2nd top severity, seen by most users, causes major problems
ZRelease-Sodium
retired label
Milestone
As I was going through the release notes for Neon/3000 I came across a feature that I thought was missing, but it turned out that there were just some issues with the way a few states already had onlyif/unless implementations.
This causes some issues with the new functionality to allow states in the
onlyif/unless
declarations.It would be great if we could figure out a clean way to refactor those so they take advantage of that new functionality, but we don't break backwards compatibility. Though it may be worth breaking that compatibility in favor of having a unified onlyif/unless flow 🤔
In any case, the current codebase won't support the enhancements for a couple of fairly major states, such as
cmd
andfile
.Example:
Fails like this:
Where:
works correctly.
The text was updated successfully, but these errors were encountered: