Closed sheagcraig closed 5 years ago
I’m wondering whether we need a changed status? For when puppet, chef or Salt made a change during the run?
Hey @grahamgilbert. So I know that Salt has an actual "Changed" k/v pair in its json output; I was planning on stashing that in the "data" field. I assume other CM will do similar things / have similar output. We could put a dedicated field in; Munki items wouldn't really use it.
I guess we have to balance the ease of access against the generic-ness of the model to apply to all different kinds of "Managed" things.
Conversely, Munki is unique in that it doesn’t report status of changes it makes. This would mostly be implemented on the client side, but would save having to parse this out on the server side (which is what we’re trying to achieve with this, no?)
You’re a machine @sheagcraig
The only outstanding work I have to do on this is to add Salt errors/warnings from the logs to the Salt checkin module's messages section. That's not going to impact most people, so this is ready to test!
I figure phase 1 is make sure this model works for everyone. Anyone care to review before I start writing the UI and the checkin v3 code?