fix: prevent running of states deprecated in v1.0.0#236
fix: prevent running of states deprecated in v1.0.0#236myii merged 1 commit intosaltstack-formulas:masterfrom
v1.0.0#236Conversation
* Route all to `nginx/deprecated.sls`
|
First: find a way to prevent the formula from running before having migrated settings is a great idea! Second: you're only checking that |
|
@daks Apologies, the implementation isn't clear because I started editing other lines as well to convert to |
|
looks good to me |
daks
left a comment
There was a problem hiding this comment.
OK for me. Can be merged quickly for me.
|
Thanks for the review, @n-rodriguez. |
|
And thanks to you as well, @daks. Can either of you merge this please (CC: @n-rodriguez)? |
|
Actually, since it's important and potentially time-critical, I've gone ahead and merged based on the the two approvals. Thanks again to everyone involved in reviewing and discussing these issues. |
|
🎉 This PR is included in version 1.0.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
Thanks everyone, perhaps we can take this and note it down somewhere in the template formula docs? Haven't checked if we have a deprecation section in there yet, but we may want to. |
|
@johnkeates Thanks for the suggestion, I've appended that to the documentation section in the "superlist" issue in the |
nginx/deprecated.slsCross-references:
v1.0.0breaking changes #235 -- warning banner added toREADME.Note: There is one common state before and after:
nginx/init.sls. For that, I've checked for the presence ofnginx:ngin the map instead.Note: Implementation based on this PR.