.. versionadded:: 2014.7.0 Returns successful name A unique string to serve as the state's ID
(name, **kwargs)
| 85 | |
| 86 | |
| 87 | def succeed_without_changes(name, **kwargs): # pylint: disable=unused-argument |
| 88 | """ |
| 89 | .. versionadded:: 2014.7.0 |
| 90 | |
| 91 | Returns successful |
| 92 | |
| 93 | name |
| 94 | A unique string to serve as the state's ID |
| 95 | """ |
| 96 | comment = kwargs.get("comment", "Success!") |
| 97 | |
| 98 | ret = {"name": name, "changes": {}, "result": True, "comment": comment} |
| 99 | return ret |
| 100 | |
| 101 | |
| 102 | def fail_without_changes(name, **kwargs): # pylint: disable=unused-argument |