Open akatrevorjay opened 9 years ago
Good to know! Is there something to do on the formula side to improve the rolling restarts/upgrades?
There are two changes that come to mind that were related:
This moves to using pkg.latest to keep us up to date to the latest release, unless specified not to in datamap: vkgit/saltstack-elasticsearch-formula@617d8698478852164c597af439a40bdeaf927173 (since ES pkgrepos are per-major release, we felt this was safe for us)
A note about pkg.latest: It's broken in quite a few releases in 2015.x; it doesn't upgrade when it should. Sigh.
This refreshes after adding the pkgrepo, as we ran into a couple scenarios where it was not properly refreshing: vkgit/saltstack-elasticsearch-formula@59c2173789d8a784a947b6f4ab24b447be41e2d1
This isn't an issue, but I thought it may be of use to you; we forked your Elasticsearch states a while back and just released an automated rolling restart/upgrade to go with it: https://github.com/vertical-knowledge/rollastic . The small changes we've made aren't relied upon by it, so it should work with the original repo here as well.
I started with this as a Salt orchestration state and a few child states to go with it, but it became rather complicated and brittle, so it's since been moved to a standalone python package.