[develop] Allow the onlyif & unless requisites in a state file. #45229
What does this PR do?
Updates to state.py to allow the onlyif & unless requisites to both work when specified in a state file.
What issues does this PR fix or reference?
If both onlyif & unless were specified in a state file the unless requisites was ignored and only the onlyif requisites was used.
This change allows both to be used in a single state.
Commits signed with GPG?
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
The text was updated successfully, but these errors were encountered: