def clear_password(name, runas=None):
 if ((runas is None) and (not salt.utils.is_windows())):
  runas = salt.utils.get_user()
 res = __salt__['cmd.run_all']([__context__['rabbitmqctl'], 'clear_password', name], runas=runas, python_shell=False)
 msg = 'Password Cleared'
 return _format_response(res, msg)

def clear_password ( name , runas = None ) : if ( ( runas is None ) and ( not salt . utils . is_windows ( ) ) ) : runas = salt . utils . get_user ( ) res = __salt__ [ 'cmd.run_all' ] ( [ __context__ [ 'rabbitmqctl' ] , 'clear_password' , name ] , runas = runas , python_shell = False ) msg = 'Password Cleared' return _format_response ( res , msg )
removes a users password .