saltstack-formulas/users-formula — pull request #43 by 7oku (2014-08-02 23:13:22+00:00)
Title: modified visudo to only report change in salt when there is an error.

Every run of visudo resulted in a change in salt. To prevent this, I added stateful option to it and only give an (invalid json) output, if the syntax of the sudoers lines are wrong. Salt will result in an error then. Otherwise, nothing is returned, so no change for salt!