Closed dafyddj closed 6 years ago
I usually like different changes in different PRs but in this case it's a rather intertwined piece of housekeeping and splitting elements off makes not a whole lot of sense.
Yes, once I'd started it was hard to know where to stop, without leaving things still broken.
One of the things that make splitting this type of fixing difficult is the connection between CI and configuration; you can't test something that isn't there yet, and you can't make something without testing (well, you can, but then what's the point).
Not sure why, but Travis doesn't seem to be building/testing the PR.
@dafyddj My guess for travis is that its a side effect of the massive outage GH just experienced and is still experiencing: https://blog.github.com/2018-10-21-october21-incident-report/
Yeah, that's probably it. Travis isn't showing this PR at all. Webhooks etc. are suspended by GH so that makes sense.
Im mostly impressed that tests were added and it passed. im going to go ahead and merge it as is, and test it later since I need to upgrade our vault. if i find any issues ill make those additional changes in a new PR to go ahead and get progress started given your amount of effort.
Thanks for this!
That's great. Thanks
This is a bit of an overhaul of the formula, fixing many issues, incl. the two open issues #18 #19.
The main thrust of the changes are to add tests for running in production mode (which didn't work) and that the binary is upgraded on version change (also didn't work; manual test only due to limits in Test Kitchen, unfortunately). Generating a self-signed cert also didn't work.
Also, use many more Salt builtin states rather than cmd.runs, and tidy up requisites.
More information can be found in the individual commits.