salt.sdb.yaml module

Pull sdb values from a YAML file

maintainer

SaltStack

maturity

New

platform

all

New in version 2017.7.0.

Configuration:

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:

my-yaml-file:
  driver: yaml
  files:
    - /path/to/foo.yaml
    - /path/to/bar.yaml
  merge:
    strategy: smart
    merge_list: false
  gpg: true

New in version 2018.3.0.

Setting the gpg option to true (default is false) will decrypt embedded GPG-encrypted data using the GPG renderer.

salt.sdb.yaml.get(key, profile=None)

Get a value from the dictionary

salt.sdb.yaml.set_(*args, **kwargs)

Setting a value is not supported; edit the YAML files directly