mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
return changes when test=True
This commit is contained in:
parent
95c8e74b72
commit
2313747958
@ -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…
Reference in New Issue
Block a user