#NEWLINE# def delete_user( name , runas = None ) : #NEWLINE# #INDENT# "\n    Deletes a user via rabbitmqctl delete_user.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' rabbitmq.delete_user rabbit_user\n    " #NEWLINE# if ( runas is None ) : #NEWLINE# #INDENT# runas = salt . utils . get_user ( ) #NEWLINE# #UNINDENT# res = __salt__ [ 'cmd.run' ] ( [ 'rabbitmqctl' , 'delete_user' , name ] , python_shell = False , runas = runas ) #NEWLINE# msg = 'Deleted' #NEWLINE# return _format_response ( res , runas )