Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias identifier Import alias ImportFrom alias Import alias identifier ImportFrom alias Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore NameStore Str FunctionDef arguments args NameParam defaults body Global identifier identifier Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str Str kwarg body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore IfExp CompareIn Str NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword IfExp NameLoad NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd UnaryOpNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad ImportFrom alias Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Raise Call NameLoad Str Return NameLoad decorator_list Assign NameStore SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore IfExp NameLoad Call AttributeLoad Str attr NameLoad Str If CompareIn TupleLoad Str Str NameLoad body Assign NameStore NameLoad If CompareIn TupleLoad Str Str NameLoad body Assign NameStore NameLoad If CompareIn TupleLoad Str Str NameLoad body Assign NameStore NameLoad If CompareIn TupleLoad Str Str NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad orelse Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad BinOpAdd SubscriptLoad NameLoad Index Num Str attr Str Num Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body If CompareEq NameLoad Str body Assign NameStore BinOpAdd Str NameLoad orelse Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad BinOpAdd SubscriptLoad NameLoad Index Num Str attr Str Num Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr NameLoad ExceptHandler type NameLoad body Raise NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad If NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd NameLoad Str For NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Slice Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Delete SubscriptDel NameLoad Index NameLoad orelse Assign NameStore Dict Assign NameStore Call NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Import alias Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Continue For NameStore Call NameLoad NameLoad ListLoad Str body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Dict NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore NameLoad If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad Dict NameLoad Call NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body For NameStore SubscriptLoad NameLoad Index NameLoad body If BoolOpAnd CompareIn Str NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str NameLoad body Return Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad BinOpAdd NameLoad Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt NameLoad Call NameLoad NameLoad body Raise Call NameLoad Str Return Call AttributeLoad Str attr BinOpAdd SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIn NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Call NameLoad ListLoad Str Str body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr Str body Continue If CompareIn NameLoad NameLoad body Continue For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr Str body Continue Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd CompareIn Str NameLoad UnaryOpNot NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad body For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body If CompareEq Call NameLoad NameLoad NameLoad body Continue For NameStore NameLoad body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq Call NameLoad Call NameLoad NameLoad Str body Break orelse Expr Call AttributeLoad NameLoad attr Num Call NameLoad keyword SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Delete SubscriptDel NameLoad Index NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Str Assign NameStore Call NameLoad ListLoad Str Str Assign NameStore Dict Assign NameStore Dict ImportFrom alias FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body For TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad body For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad ListLoad attr TupleLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad ListLoad attr TupleLoad NameLoad NameLoad NameLoad Continue Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore NameStore NameLoad body If CompareIn Call NameLoad NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore NameStore NameLoad body If CompareIn Call NameLoad NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad NameLoad If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body TryExcept body Expr Call AttributeLoad SubscriptLoad Call NameLoad Call NameLoad NameLoad ListLoad Str Index Num attr Num Call NameLoad ListLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword ListLoad Call NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad ListLoad Str Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpOr CompareIn NameLoad NameLoad Call AttributeLoad NameLoad attr Str body Continue If BoolOpOr CompareNotIn Str NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad body Break orelse Raise Call NameLoad Str Assign NameStore Dict Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict NameLoad ListLoad Dict Str ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Call NameLoad ListLoad Str Str Str body If CompareIn Str NameLoad body Continue Expr Call AttributeLoad NameLoad attr Dict Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict NameLoad ListLoad Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list Assign NameStore Dict Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpAnd CompareEq NameLoad Str UnaryOpNot NameLoad body Expr Call NameLoad NameLoad NameLoad Continue If CompareIn NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareIn NameLoad NameLoad body Assign NameStore NameLoad orelse Continue Assign NameStore IfExp NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Continue Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore TupleLoad Str Str body If CompareIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list
N/A N/A 
A flexible renderer that takes a templating engine and a data format

:maintainer: Jack Kuan <kjkuan@gmail.com>
:maturity: new
:platform: all
 __future__ absolute_import N/A logging N/A re N/A getopt N/A copy os path ospath N/A salt.utils salt.exceptions SaltRenderError N/A salt.ext.six six salt.ext.six.moves StringIO N/A __all__ N/A render N/A log N/A N/A logging getLogger __name__ N/A __opts__ N/A stateconf_end_marker stateconf_start_state stateconf_goal_state stateconf_state_func #\s*-+\s*end of state config\s*-+ .start .goal stateconf.set N/A STATE_FUNC STATE_NAME __init__ N/A N/A opts N/A N/A N/A STATE_NAME STATE_FUNC N/A STATE_FUNC N/A __opts__ N/A stateconf_state_func N/A STATE_NAME N/A N/A N/A STATE_FUNC split . N/A 0 N/A N/A MOD_BASENAME N/A N/A ospath basename __file__ N/A INVALID_USAGE_ERROR N/A SaltRenderError N/A N/A Invalid use of {0} renderer!
Usage: #!{1} [-GoSp] [<data_renderer> [options] . <template_renderer> [options]]

where an example <data_renderer> would be yaml and a <template_renderer> might
be jinja. Each renderer can be passed its renderer specific options.

Options(for this renderer):

  -G   Do not generate the goal state that requires all other states in the sls.

  -o   Indirectly order the states by adding requires such that they will be
       executed in the order they are defined in the sls. Implies using yaml -o.

  -s   Generate the start state that gets inserted as the first state in
       the sls. This only makes sense if your high state data dict is ordered.

  -p   Assume high state input. This option allows you to pipe high state data
       through this renderer. With this option, the use of stateconf.set state
       in the sls will have no effect, but other features of the renderer still
       apply.

   format MOD_BASENAME MOD_BASENAME render N/A N/A input saltenv sls argline N/A base kws N/A N/A gen_start_state False N/A no_goal_state False N/A implicit_require False process_sls_data N/A N/A data context extract N/A None False N/A N/A sls_dir N/A N/A . sls N/A N/A ospath dirname N/A N/A sls replace . N/A ospath sep sls N/A ctx N/A dict sls_dir N/A sls_dir sls_dir . N/A context N/A N/A N/A N/A ctx update context N/A tmplout N/A render_template N/A StringIO data saltenv sls context ctx argline N/A N/A rt_argline strip kws N/A high N/A render_data tmplout saltenv sls argline N/A N/A rd_argline strip N/A N/A process_high_data high extract N/A process_high_data N/A N/A high extract N/A N/A N/A data N/A N/A copy deepcopy high N/A N/A N/A N/A rewrite_single_shorthand_state_decl data N/A N/A rewrite_sls_includes_excludes data sls saltenv N/A N/A N/A extract implicit_require N/A N/A sid N/A has_names_decls data N/A sid N/A N/A N/A SaltRenderError N/A N/A 'names' declaration(found in state id: {0}) is not supported with implicitly ordered states! You should generate the states in a template for-loop instead. format sid N/A N/A add_implicit_requires data N/A gen_start_state N/A N/A N/A add_start_state data sls N/A N/A N/A extract N/A no_goal_state N/A N/A N/A add_goal_state data N/A N/A rename_state_ids data sls N/A N/A extract_state_confs data N/A N/A N/A SaltRenderError N/A N/A N/A N/A Exception N/A err N/A N/A N/A N/A log exception N/A N/A Error found while pre-processing the salt file {0}:
{1} format sls err salt.state State N/A state N/A State __opts__ N/A errors N/A N/A state verify_high high N/A errors N/A N/A N/A SaltRenderError N/A N/A join errors N/A N/A SaltRenderError sls preprocessing/rendering failed! N/A data N/A N/A renderers N/A kws N/A renderers N/A N/A opts args N/A N/A getopt getopt N/A N/A argline split Gosp N/A argline N/A args N/A N/A join args yaml . jinja N/A N/A N/A -G opts N/A N/A no_goal_state True N/A N/A N/A -o opts N/A N/A implicit_require True N/A N/A N/A -s opts N/A N/A gen_start_state True N/A N/A N/A -p opts N/A N/A data N/A process_high_data input extract False N/A N/A args N/A N/A N/A N/A N/A arg strip replace \. . N/A arg N/A N/A re split \s+(?<!\\)\.\s+ argline 1 N/A N/A N/A N/A name rd_argline N/A N/A N/A N/A args N/A 0 split 1 N/A render_data N/A renderers N/A name N/A implicit_require N/A N/A N/A name yaml N/A N/A rd_argline N/A -o  rd_argline N/A N/A N/A SaltRenderError Implicit ordering is only supported if the yaml renderer is used! N/A N/A name rt_argline N/A N/A N/A N/A args N/A 1 split 1 N/A render_template N/A renderers N/A name N/A N/A N/A KeyError N/A err N/A N/A N/A SaltRenderError N/A N/A Renderer: {0} is not available! format err N/A N/A IndexError N/A N/A INVALID_USAGE_ERROR N/A N/A isinstance input N/A six string_types N/A N/A N/A N/A N/A salt utils fopen input r ifile N/A N/A sls_templ N/A N/A ifile read N/A N/A sls_templ N/A N/A input read N/A match N/A N/A re search N/A __opts__ N/A stateconf_end_marker sls_templ N/A match N/A N/A N/A process_sls_data N/A sls_templ N/A N/A N/A match start extract True N/A STATE_CONF N/A N/A tmplctx N/A N/A STATE_CONF copy N/A tmplctx N/A N/A prefix N/A sls :: N/A k N/A N/A six iterkeys tmplctx N/A N/A N/A N/A k startswith prefix N/A N/A N/A tmplctx N/A N/A k N/A N/A len prefix N/A tmplctx N/A k N/A N/A tmplctx N/A k N/A N/A tmplctx N/A N/A data N/A process_sls_data sls_templ tmplctx N/A N/A N/A log isEnabledFor N/A logging DEBUG N/A N/A pprint N/A N/A N/A log debug N/A N/A Rendered sls: {0} format N/A N/A pprint pformat data N/A data N/A has_names_decls N/A N/A data N/A N/A N/A N/A sid _ _ args N/A statelist data N/A N/A N/A sid extend N/A N/A N/A _ N/A nvlist args N/A names N/A N/A sid N/A rewrite_single_shorthand_state_decl N/A N/A data N/A N/A N/A 
    Rewrite all state declarations that look like this::

      state_id_decl:
        state.func

    into::

      state_id_decl:
        state.func: []
     N/A N/A sid states N/A N/A six iteritems data N/A N/A N/A isinstance states N/A six string_types N/A N/A N/A data N/A sid N/A states N/A N/A rewrite_sls_includes_excludes N/A N/A data sls saltenv N/A N/A N/A sid data N/A N/A N/A sid include N/A N/A includes N/A data N/A sid N/A N/A i each N/A enumerate includes N/A N/A N/A isinstance each dict N/A N/A N/A slsenv incl N/A N/A each popitem N/A N/A slsenv saltenv N/A incl each N/A N/A N/A incl startswith . N/A N/A N/A includes N/A i N/A slsenv N/A _relative_to_abs_sls incl sls N/A N/A N/A sid exclude N/A N/A sdata N/A data N/A sid N/A N/A N/A N/A sls sdata N/A N/A N/A sdata N/A sls startswith . N/A N/A N/A sdata N/A sls N/A _relative_to_abs_sls N/A sdata N/A sls sls N/A _local_to_abs_sid N/A N/A sid sls N/A N/A N/A N/A :: sid N/A N/A N/A _relative_to_abs_sls sid sls N/A N/A abs_sls N/A _relative_to_abs_sls sid N/A sls . N/A N/A N/A :: join N/A N/A abs_sls rsplit . 1 N/A _relative_to_abs_sls N/A N/A relative sls N/A N/A N/A 
    Convert ``relative`` sls reference into absolute, relative to ``sls``.
     N/A N/A levels suffix N/A N/A N/A N/A re match ^(\.+)(.*)$ relative groups N/A level_count N/A len levels N/A p_comps N/A N/A sls split . N/A N/A level_count N/A len p_comps N/A N/A N/A SaltRenderError Attempted relative include goes beyond top level package N/A N/A N/A . join N/A N/A p_comps N/A N/A level_count N/A suffix N/A nvlist N/A N/A thelist names N/A None N/A N/A 
    Given a list of items::

        - whatever
        - name1: value1
        - name2:
          - key: value
          - key: value

    return a generator that yields each (item, key, value) tuple, skipping
    items that are not name-value's(dictionaries) or those not in the
    list of matching names. The item in the returned tuple is the single-key
    dictionary.
     N/A nvitem thelist N/A N/A N/A isinstance nvitem dict N/A N/A N/A name value N/A next N/A N/A six iteritems nvitem N/A N/A N/A names None N/A name names N/A N/A N/A N/A nvitem name value N/A nvlist2 N/A N/A thelist names N/A None N/A N/A 
    Like nvlist but applied one more time to each returned value.
    So, given a list, args,  of arguments to a state like this::

      - name: echo test
      - cwd: /
      - require:
        - file: test.sh

    nvlist2(args, ['require']) would yield the tuple,
    (dict_item, 'file', 'test.sh') where dict_item is the single-key
    dictionary of {'file': 'test.sh'}.

     N/A N/A _ _ value N/A nvlist thelist names N/A N/A each N/A nvlist value N/A N/A N/A each N/A statelist N/A N/A states_dict sid_excludes N/A N/A frozenset N/A include exclude N/A N/A N/A sid states N/A N/A six iteritems states_dict N/A N/A N/A N/A sid startswith __ N/A N/A N/A N/A sid sid_excludes N/A N/A N/A N/A sname args N/A N/A six iteritems states N/A N/A N/A N/A sname startswith __ N/A N/A N/A N/A N/A sid states sname args N/A N/A REQUISITES N/A set N/A require require_in watch watch_in use use_in rename_state_ids N/A N/A data sls is_extend N/A False N/A N/A N/A N/A extend data N/A is_extend N/A N/A N/A rename_state_ids N/A data N/A extend sls True N/A N/A sid _ _ args N/A statelist data N/A N/A N/A req sname sid N/A nvlist2 args REQUISITES N/A N/A N/A N/A sid startswith . N/A N/A N/A req N/A sname N/A _local_to_abs_sid sid sls N/A sid data N/A N/A N/A N/A sid startswith . N/A N/A newsid N/A _local_to_abs_sid sid sls N/A N/A newsid data N/A N/A N/A SaltRenderError N/A N/A Can't rename state id({0}) into {1} because the later already exists! format sid newsid N/A N/A sname args N/A N/A six iteritems N/A data N/A sid N/A N/A N/A N/A state_name sname STATE_NAME N/A N/A N/A arg args N/A N/A N/A N/A isinstance arg dict N/A N/A next N/A iter arg name N/A N/A N/A N/A N/A N/A args insert 0 N/A dict name N/A sid N/A 1 N/A N/A data N/A newsid N/A data N/A sid N/A N/A data N/A sid N/A N/A REQUIRE N/A set N/A require watch N/A REQUIRE_IN N/A set N/A require_in watch_in N/A EXTENDED_REQUIRE N/A N/A EXTENDED_REQUIRE_IN N/A itertools chain add_implicit_requires N/A N/A data N/A N/A T N/A N/A sid state N/A N/A N/A N/A N/A {0}:{1} format sid N/A state_name state N/A N/A states_before N/A set N/A states_after N/A set N/A sid data N/A N/A state N/A data N/A sid N/A N/A N/A N/A states_after add N/A T sid state N/A prev_state N/A None None N/A N/A sid states sname args N/A statelist data N/A N/A N/A sid extend N/A N/A N/A esid _ _ eargs N/A statelist states N/A N/A N/A _ rstate rsid N/A nvlist2 eargs REQUIRE N/A N/A N/A N/A N/A N/A EXTENDED_REQUIRE setdefault N/A T esid rstate N/A append N/A None rstate rsid N/A N/A _ rstate rsid N/A nvlist2 eargs REQUIRE_IN N/A N/A N/A N/A N/A N/A EXTENDED_REQUIRE_IN setdefault N/A T esid rstate N/A append N/A None rstate rsid N/A N/A tag N/A T sid sname N/A N/A N/A states_after remove tag N/A reqs N/A nvlist2 args REQUIRE N/A N/A tag EXTENDED_REQUIRE N/A N/A reqs N/A chain reqs N/A EXTENDED_REQUIRE N/A tag N/A N/A _ rstate rsid reqs N/A N/A N/A N/A T rsid rstate states_after N/A N/A N/A SaltRenderError N/A N/A State({0}) can't require/watch a state({1}) defined after it! format tag N/A T rsid rstate N/A reqs N/A nvlist2 args REQUIRE_IN N/A N/A tag EXTENDED_REQUIRE_IN N/A N/A reqs N/A chain reqs N/A EXTENDED_REQUIRE_IN N/A tag N/A N/A _ rstate rsid reqs N/A N/A N/A N/A T rsid rstate states_before N/A N/A N/A SaltRenderError N/A N/A State({0}) can't require_in/watch_in a state({1}) defined before it! format tag N/A T rsid rstate N/A N/A N/A prev_state N/A 0 None N/A N/A N/A N/A N/A N/A N/A N/A next N/A nvlist args N/A require N/A 2 insert 0 N/A dict N/A prev_state N/A N/A N/A StopIteration N/A N/A N/A N/A args append N/A dict require N/A N/A dict N/A prev_state N/A N/A N/A states_before add tag N/A prev_state N/A N/A state_name sname sid N/A add_start_state N/A N/A data sls N/A N/A N/A start_sid N/A __opts__ N/A stateconf_start_state N/A N/A start_sid data N/A N/A N/A SaltRenderError N/A N/A Can't generate start state({0})! The same state id already exists! format start_sid N/A N/A data N/A N/A N/A non_sids N/A set N/A include exclude extend N/A N/A sid states N/A N/A six iteritems data N/A N/A N/A N/A sid non_sids N/A N/A sid startswith __ N/A N/A N/A N/A N/A __sls__ states N/A N/A states N/A __sls__ sls N/A N/A N/A N/A N/A SaltRenderError Can't determine the first state in the sls file! N/A reqin N/A N/A state_name N/A next N/A N/A six iterkeys N/A data N/A sid sid N/A N/A data N/A start_sid N/A STATE_FUNC N/A N/A require_in N/A reqin N/A add_goal_state N/A N/A data N/A N/A N/A goal_sid N/A __opts__ N/A stateconf_goal_state N/A N/A goal_sid data N/A N/A N/A SaltRenderError N/A N/A Can't generate goal state({0})! The same state id already exists! format goal_sid N/A N/A reqlist N/A N/A N/A sid states state _ N/A statelist data N/A set N/A include exclude extend N/A N/A N/A __sls__ states N/A N/A N/A N/A N/A reqlist append N/A N/A state_name state sid N/A N/A data N/A goal_sid N/A STATE_FUNC N/A N/A dict require reqlist N/A state_name N/A N/A sname N/A N/A N/A 
    Return the name of the state regardless if sname is
    just the state name or a state.func name.
     N/A N/A N/A N/A sname split . 1 N/A 0 N/A Bunch N/A dict N/A __getattr__ N/A N/A self name N/A N/A N/A N/A self N/A name N/A N/A N/A STATE_CONF N/A N/A STATE_CONF_EXT N/A extract_state_confs N/A N/A data is_extend N/A False N/A N/A N/A state_id state_dict N/A N/A six iteritems data N/A N/A N/A N/A state_id extend N/A is_extend N/A N/A N/A extract_state_confs state_dict True N/A N/A N/A STATE_NAME state_dict N/A N/A key STATE_NAME N/A N/A N/A STATE_FUNC state_dict N/A N/A key STATE_FUNC N/A N/A N/A to_dict N/A is_extend STATE_CONF_EXT STATE_CONF N/A conf N/A N/A to_dict setdefault state_id N/A Bunch N/A sdk N/A state_dict N/A key N/A N/A N/A N/A isinstance sdk dict N/A N/A N/A N/A key val N/A next N/A N/A six iteritems sdk N/A N/A conf N/A key val N/A N/A N/A is_extend N/A state_id STATE_CONF_EXT N/A N/A extend N/A STATE_CONF_EXT N/A state_id N/A requisite N/A require watch N/A N/A N/A requisite extend N/A N/A N/A extend N/A requisite N/A N/A N/A to_dict N/A state_id get requisite N/A N/A N/A N/A N/A to_dict N/A state_id update N/A STATE_CONF_EXT N/A state_id N/A