#NEWLINE# def template_str( tem , queue = False , **kwargs ) : #NEWLINE# #INDENT# "\n    Execute the information stored in a string from an sls template\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' state.template_str '<Template String>'\n    " #NEWLINE# conflict = _check_queue ( queue , kwargs ) #NEWLINE# if ( conflict is not None ) : #NEWLINE# #INDENT# return conflict #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# st_ = salt . state . State ( __opts__ , proxy = __proxy__ ) #NEWLINE# #UNINDENT# except NameError : #NEWLINE# #INDENT# st_ = salt . state . State ( __opts__ ) #NEWLINE# #UNINDENT# ret = st_ . call_template_str ( tem ) #NEWLINE# _set_retcode ( ret ) #NEWLINE# return tem