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
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
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2018.3.3