Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop] Allow the onlyif & unless requisites in a state file. #45229

Conversation

garethgreenaway
Copy link
Contributor

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?

#30161

Previous Behavior

If both onlyif & unless were specified in a state file the unless requisites was ignored and only the onlyif requisites was used.

New Behavior

This change allows both to be used in a single state.

Tests written?

Yes

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@garethgreenaway garethgreenaway force-pushed the 30161_using_unless_onlyif_together branch from 4c4a158 to f4a6bfd Compare January 2, 2018 16:05
@rallytime rallytime requested a review from thatch45 January 2, 2018 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants