return 'changes' from rabbitmq states

This commit is contained in:
mafro 2012-10-28 22:51:30 +00:00
parent 69ff6cef23
commit e855aa395a
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)