def template_str(tem, queue=False, **kwargs):
 conflict = _check_queue(queue, kwargs)
 if (conflict is not None):
  return conflict
 try:
  st_ = salt.state.State(__opts__, proxy=__proxy__)
 except NameError:
  st_ = salt.state.State(__opts__)
 ret = st_.call_template_str(tem)
 _set_retcode(ret)
 return ret

def template_str ( tem , queue = False , ** kwargs ) : conflict = _check_queue ( queue , kwargs ) if ( conflict is not None ) : return conflict try : st_ = salt . state . State ( __opts__ , proxy = __proxy__ ) except NameError : st_ = salt . state . State ( __opts__ ) ret = st_ . call_template_str ( tem ) _set_retcode ( ret ) return ret
execute the information stored in a string from an sls template cli example: .