postgres-reload-modules only report changes (and reloads the modules) if necessary
uses test.configurable_test_state
require is always present in the format_state macro, so we're just using it. (This part is not as clean as I want it to be, but I regard it as a trade-off. Maybe there are better ideas.)
Based on the great work of @RobRuana in #216.
Tested on FreeBSD 11.2 with Salt 2019.2.0.
postgres-reload-modules
only report changes (and reloads the modules) if necessarytest.configurable_test_state
require
is always present in theformat_state
macro, so we're just using it. (This part is not as clean as I want it to be, but I regard it as a trade-off. Maybe there are better ideas.)