%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/3522530/root/lib/python2.7/site-packages/salt/modules/slsutil.pyo |
�
���^c @@ s� d Z d d l m Z m Z m Z d d l Z d d l Z d d l Z d d l Z d d l
Z e e d � Z
d d e d � Z d d e d � Z d d d d
� Z d � Z d � Z d
� Z d S( u0
Utility functions for use with or in SLS files
i ( t absolute_importt unicode_literalst print_functionNc C@ s t j j j | | | | � S( u3
Merge ``upd`` recursively into ``dest``
If ``merge_lists=True``, will aggregate list object types instead of
replacing. This behavior is only activated when ``recursive_update=True``.
CLI Example:
.. code-block:: shell
salt '*' slsutil.update '{foo: Foo}' '{bar: Bar}'
( t saltt utilst
dictupdatet update( t destt updt recursive_updatet merge_lists( ( s8 /usr/lib/python2.7/site-packages/salt/modules/slsutil.pyR s u smartu yamlc C@ s t j j j | | | | | � S( u
Merge a data structure into another by choosing a merge strategy
Strategies:
* aggregate
* list
* overwrite
* recurse
* smart
CLI Example:
.. code-block:: shell
salt '*' slsutil.merge '{foo: Foo}' '{bar: Bar}'
( R R R t merge( t obj_at obj_bt strategyt rendererR
( ( s8 /usr/lib/python2.7/site-packages/salt/modules/slsutil.pyR # s c C@ s<