salt.thorium.check module

The check Thorium state is used to create gateways to commands, the checks make it easy to make states that watch registers for changes and then just succeed or fail based on the state of the register, this creates the pattern of having a command execution get gated by a check state via a requisite.

salt.thorium.check.contains(name, value)

Only succeed if the value in the given register location is greater than the given value

salt.thorium.check.gt(name, value)

Only succeed if the value in the given register location is greater than the given value

salt.thorium.check.lt(name, value)

Only succeed if the value in the given register location is greater than the given value