#NEWLINE# def high( data , test = False , queue = False , **kwargs ) : #NEWLINE# #INDENT# '\n    Execute the compound calls stored in a single set of high data\n\n    This function is mostly intended for testing the state system andis not\n    likely to be needed in everyday usage.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt \'*\' state.high \'{"vim": {"pkg": ["installed"]}}\'\n    ' #NEWLINE# conflict = _check_queue ( queue , kwargs ) #NEWLINE# if ( conflict is not None ) : #NEWLINE# #INDENT# return conflict #NEWLINE# #UNINDENT# opts = _get_opts ( kwargs . get ( 'localconfig' ) ) #NEWLINE# if salt . utils . test_mode ( test = test , ** kwargs ) : #NEWLINE# #INDENT# opts [ 'test' ] = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( test is not None ) : #NEWLINE# #INDENT# opts [ 'test' ] = test #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# opts [ 'test' ] = __opts__ . get ( 'test' , None ) #NEWLINE# #UNINDENT# #UNINDENT# pillar = kwargs . get ( 'pillar' ) #NEWLINE# pillar_enc = kwargs . get ( 'pillar_enc' ) #NEWLINE# if ( ( pillar_enc is None ) and ( st_ is not None ) and ( not isinstance ( pillar , dict ) ) ) : #NEWLINE# #INDENT# raise SaltInvocationError ( 'Pillar data must be formatted as a dictionary, unless pillar_enc is specified.' ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# st_ = salt . state . State ( __opts__ , pillar , pillar_enc = pillar_enc , proxy = __proxy__ , context = __context__ ) #NEWLINE# #UNINDENT# except NameError : #NEWLINE# #INDENT# st_ = salt . state . State ( __opts__ , pillar , pillar_enc = pillar_enc ) #NEWLINE# #UNINDENT# ret = st_ . call_high ( data ) #NEWLINE# _set_retcode ( ret ) #NEWLINE# return ret