mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
return changes when test=True
This commit is contained in:
parent
95c8e74b72
commit
2313747958
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ def present(name):
|
|||
if __opts__['test']:
|
||||
ret['result'] = None
|
||||
ret['comment'] = 'Creating VHost {0}'.format(name)
|
||||
ret['changes'] = {'old': '', 'new': name}
|
||||
return ret
|
||||
|
||||
result = __salt__['rabbitmq.add_vhost'](name)
|
||||
|
|
Loading…
Add table
Reference in a new issue