mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
return 'changes' from rabbitmq states
This commit is contained in:
parent
69ff6cef23
commit
e855aa395a
@ -40,7 +40,7 @@ def present(name,
|
||||
runas
|
||||
Name of the user to run the command
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': ''}
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
|
||||
user_exists = __salt__['rabbitmq.user_exists'](name, runas=runas)
|
||||
|
||||
@ -99,7 +99,7 @@ def absent(name,
|
||||
runas
|
||||
User to run the command
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': ''}
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
|
||||
user_exists = __salt__['rabbitmq.user_exists'](name, runas=runas)
|
||||
|
||||
|
@ -50,7 +50,7 @@ def present(name,
|
||||
runas
|
||||
Name of the user to run the command
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': ''}
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
|
||||
vhost_exists = __salt__['rabbitmq.vhost_exists'](name, runas=runas)
|
||||
|
||||
@ -107,7 +107,7 @@ def absent(name,
|
||||
runas
|
||||
User to run the command
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': ''}
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
|
||||
vhost_exists = __salt__['rabbitmq.vhost_exists'](name, runas=runas)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user