File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/sdb/__pycache__/yaml.cpython-310.pyc
Back
o ;j � @ s~ d Z ddlZddlZddlZddlZddlZddlZddlZe� e �ZddiZdd� Z dd� Zddd �Zdd d�Zdd � ZdS )aD Pull sdb values from a YAML file :maintainer: SaltStack :maturity: New :platform: all .. versionadded:: 2017.7.0 Configuration: .. code-block:: yaml my-yaml-file: driver: yaml files: - /path/to/foo.yaml - /path/to/bar.yaml The files are merged together and the result is searched using the same mechanism Salt uses for searching Grains and Pillar data structures. Optional configuration: .. code-block:: yaml my-yaml-file: driver: yaml files: - /path/to/foo.yaml - /path/to/bar.yaml merge: strategy: smart merge_list: false gpg: true .. versionadded:: 2018.3.0 Setting the ``gpg`` option to ``true`` (default is ``false``) will decrypt embedded GPG-encrypted data using the :py:mod:`GPG renderer <salt.renderers.gpg>`. � N�set_�setc C s dS )NT� r r r �A/opt/saltstack/salt/lib/python3.10/site-packages/salt/sdb/yaml.py�__virtual__: s r c O s t j�� �)zH Setting a value is not supported; edit the YAML files directly )�salt� exceptions�NotImplemented)�args�kwargsr r r r >