#NEWLINE# def change_password( name , password , runas = None ) : #NEWLINE# #INDENT# "\n    Changes a user's password.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' rabbitmq.change_password rabbit_user password\n    " #NEWLINE# if ( runas is None ) : #NEWLINE# #INDENT# runas = salt . utils . get_user ( ) #NEWLINE# #UNINDENT# res = __salt__ [ 'cmd.run' ] ( [ 'rabbitmqctl' , 'change_password' , name , password ] , runas = runas , output_loglevel = 'quiet' , python_shell = False ) #NEWLINE# msg = 'Password Changed' #NEWLINE# return _format_response ( res , msg )