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
.
Get a value from the dictionary
Setting a value is not supported; edit the YAML files directly
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/sdb/all/salt.sdb.yaml.html