Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias Import alias identifier Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg body If UnaryOpNot AttributeLoad NameLoad attr body Return AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Return If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body If CompareIn AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body For NameStore AttributeLoad NameLoad attr body If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Delete SubscriptDel AttributeLoad NameLoad attr Index Num decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareGt Call NameLoad AttributeLoad NameLoad attr Num CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Return Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Return Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body TryExcept body Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListComp IfExp Call NameLoad NameLoad NameLoad Call NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Index NameLoad Return ListComp Dict NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad decorator_list decorator_list Return Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad For NameStore AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Num Str body Continue Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Continue Assign NameStore Call NameLoad NameLoad Str Str If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad ListLoad If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Call NameLoad ListLoad For NameStore AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Num Str body Continue Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Return Dict decorator_list ClassDef bases Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Dict Str Str NameLoad NameLoad decorator_list
N/A N/A 
:maintainer: Evan Borgstrom <evan@borgstrom.ca>

Pythonic object interface to creating state data, see the pyobjects renderer
for more documentation.
 __future__ absolute_import N/A inspect N/A logging salt.utils.odict OrderedDict N/A salt.ext.six six N/A REQUISITES N/A listen onchanges onfail require watch use listen_in onchanges_in onfail_in require_in watch_in use_in N/A log N/A N/A logging getLogger __name__ StateException N/A Exception N/A N/A N/A DuplicateState N/A StateException N/A N/A N/A InvalidFunction N/A StateException N/A N/A N/A Registry N/A object N/A N/A 
    The StateRegistry holds all of the states that have been created.
     N/A states N/A OrderedDict N/A requisites N/A N/A includes N/A N/A extends N/A OrderedDict N/A enabled True empty N/A N/A cls N/A N/A N/A N/A cls states N/A OrderedDict N/A N/A cls requisites N/A N/A N/A cls includes N/A N/A N/A cls extends N/A OrderedDict N/A classmethod include N/A N/A cls N/A args N/A N/A N/A N/A cls enabled N/A N/A N/A N/A cls includes args N/A classmethod salt_data N/A N/A cls N/A N/A N/A states N/A OrderedDict N/A N/A id_ states_ N/A N/A id_ states_ N/A N/A six iteritems N/A cls states N/A N/A cls includes N/A N/A N/A states N/A include N/A cls includes N/A N/A cls extends N/A N/A N/A states N/A extend N/A OrderedDict N/A N/A id_ states_ N/A N/A id_ states_ N/A N/A six iteritems N/A cls extends N/A N/A N/A cls empty N/A states N/A classmethod add N/A N/A cls id_ state extend N/A False N/A N/A N/A N/A cls enabled N/A N/A N/A extend N/A N/A attr N/A cls extends N/A N/A attr N/A cls states N/A N/A id_ attr N/A N/A N/A N/A state full_func N/A attr N/A id_ N/A N/A N/A DuplicateState N/A N/A A state with id ''{0}'', type ''{1}'' exists format id_ N/A state full_func N/A N/A N/A attr N/A id_ N/A OrderedDict N/A N/A N/A len N/A cls requisites 0 N/A N/A req N/A cls requisites N/A N/A N/A N/A req requisite N/A state kwargs N/A N/A N/A N/A state kwargs N/A N/A req requisite N/A N/A N/A N/A N/A N/A state kwargs N/A N/A req requisite append N/A req N/A N/A N/A N/A attr N/A id_ update N/A state N/A classmethod extend N/A N/A cls id_ state N/A N/A N/A N/A N/A cls add id_ state extend True N/A classmethod make_extend N/A N/A cls name N/A N/A N/A N/A StateExtend name N/A classmethod push_requisite N/A N/A cls requisite N/A N/A N/A N/A N/A cls enabled N/A N/A N/A N/A N/A N/A cls requisites append requisite N/A classmethod pop_requisite N/A N/A cls N/A N/A N/A N/A N/A cls enabled N/A N/A N/A N/A N/A cls requisites N/A -1 N/A classmethod N/A StateExtend N/A object N/A __init__ N/A N/A self name N/A N/A N/A N/A self name name N/A N/A StateRequisite N/A object N/A __init__ N/A N/A self requisite module id_ N/A N/A N/A N/A self requisite requisite N/A N/A self module module N/A N/A self id_ id_ N/A __call__ N/A N/A self N/A N/A N/A N/A N/A self module N/A self id_ N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A Registry push_requisite self N/A __exit__ N/A N/A self type value traceback N/A N/A N/A N/A N/A Registry pop_requisite N/A N/A StateFactory N/A object N/A N/A 
    The StateFactory is used to generate new States through a natural syntax

    It is used by initializing it with the name of the salt module::

        File = StateFactory("file")

    Any attribute accessed on the instance returned by StateFactory is a lambda
    that is a short cut for generating State objects::

        File.managed('/path/', owner='root', group='root')

    The kwargs are passed through to the State object
     __init__ N/A N/A self module valid_funcs N/A None N/A N/A N/A self module module N/A N/A valid_funcs None N/A N/A valid_funcs N/A N/A N/A self valid_funcs valid_funcs N/A __getattr__ N/A N/A self func N/A N/A N/A N/A N/A N/A len N/A self valid_funcs 0 N/A func N/A self valid_funcs N/A N/A N/A InvalidFunction N/A N/A The function '{0}' does not exist in the StateFactory for '{1}' format func N/A self module make_state N/A N/A id_ N/A kwargs N/A N/A N/A State id_ N/A self module func kwargs N/A N/A make_state N/A __call__ N/A N/A self id_ requisite N/A require N/A N/A 
        When an object is called it is being used as a requisite
         N/A N/A StateRequisite requisite N/A self module id_ N/A N/A State N/A object N/A N/A 
    This represents a single item in the state tree

    The id_ is the id of the state, the func is the full name of the salt
    state (i.e. file.managed). All the keyword args you pass in become the
    properties of your state.
     __init__ N/A N/A self id_ module func N/A kwargs N/A N/A N/A self id_ id_ N/A N/A self module module N/A N/A self func func N/A attr REQUISITES N/A N/A N/A attr kwargs N/A N/A N/A N/A N/A iter N/A kwargs N/A attr N/A N/A N/A TypeError N/A N/A N/A kwargs N/A attr N/A N/A kwargs N/A attr N/A N/A self kwargs kwargs N/A N/A isinstance N/A self id_ StateExtend N/A N/A N/A N/A Registry extend N/A N/A self id_ name self N/A N/A self id_ N/A N/A self id_ name N/A N/A N/A N/A Registry add N/A self id_ self N/A N/A self requisite N/A StateRequisite require N/A self module N/A self id_ N/A attrs N/A N/A self N/A N/A N/A kwargs N/A self kwargs N/A attr REQUISITES N/A N/A N/A attr kwargs N/A N/A N/A kwargs N/A attr N/A N/A N/A isinstance req StateRequisite N/A req req N/A req N/A kwargs N/A attr N/A N/A N/A k N/A kwargs N/A k N/A k N/A sorted N/A N/A six iterkeys kwargs N/A property full_func N/A N/A self N/A N/A N/A N/A N/A {0!s}.{1!s} format N/A self module N/A self func N/A property __str__ N/A N/A self N/A N/A N/A N/A N/A {0!s} = {1!s}:{2!s} format N/A self id_ N/A self full_func N/A self attrs N/A __call__ N/A N/A self N/A N/A N/A N/A N/A self full_func N/A self attrs N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A Registry push_requisite N/A self requisite N/A __exit__ N/A N/A self type value traceback N/A N/A N/A N/A N/A Registry pop_requisite N/A N/A SaltObject N/A object N/A N/A 
    Object based interface to the functions in __salt__

    .. code-block:: python
       :linenos:
        Salt = SaltObject(__salt__)
        Salt.cmd.run(bar)
     __init__ N/A N/A self salt N/A N/A N/A N/A self _salt salt N/A __getattr__ N/A N/A self mod N/A N/A __wrapper__ N/A object N/A __getattr__ N/A N/A wself func N/A N/A N/A N/A N/A N/A N/A self _salt N/A N/A N/A {0}.{1} format mod func N/A N/A N/A KeyError N/A N/A AttributeError N/A N/A N/A N/A __wrapper__ N/A N/A MapMeta N/A type N/A N/A 
    This is the metaclass for our Map class, used for building data maps based
    off of grain data.
     __init__ N/A N/A cls name bases nmspc N/A N/A N/A N/A N/A cls __set_attributes__ N/A N/A N/A N/A super MapMeta cls __init__ name bases nmspc N/A __set_attributes__ N/A N/A cls N/A N/A N/A match_groups N/A OrderedDict N/A N/A item N/A cls __dict__ N/A N/A N/A N/A item N/A 0 _ N/A N/A N/A filt N/A N/A cls __dict__ N/A item N/A N/A N/A N/A inspect isclass filt N/A N/A N/A grain N/A getattr filt __grain__ os_family N/A N/A grain match_groups N/A N/A N/A match_groups N/A grain N/A OrderedDict N/A N/A N/A hasattr filt __match__ N/A N/A match N/A filt __match__ N/A N/A match item N/A N/A N/A match_groups N/A grain N/A match N/A OrderedDict N/A N/A name N/A filt __dict__ N/A N/A N/A N/A name N/A 0 _ N/A N/A N/A N/A N/A N/A match_groups N/A grain N/A match N/A name N/A N/A filt __dict__ N/A name N/A attrs N/A N/A grain match_groups N/A N/A filtered N/A N/A N/A Map __salt__ N/A grains.filter_by N/A match_groups N/A grain grain grain N/A filtered N/A N/A N/A N/A attrs update filtered N/A N/A hasattr cls merge N/A N/A pillar N/A N/A N/A Map __salt__ N/A pillar.get N/A cls merge N/A pillar N/A N/A N/A N/A attrs update pillar N/A name attrs N/A N/A N/A setattr cls name N/A attrs N/A name N/A N/A need_salt N/A N/A N/A a k N/A N/A N/A N/A log error Map needs __salt__ set before it can be used! N/A N/A N/A Map N/A N/A N/A six with_metaclass MapMeta object N/A N/A __salt__ N/A grains.filter_by pillar.get need_salt need_salt N/A