salt.sdb.yaml
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
.
-
Get a value from the dictionary
salt.sdb.yaml.get(key, profile=None)
-
Setting a value is not supported; edit the YAML files directly
salt.sdb.yaml.set_(*args, **kwargs)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/sdb/all/salt.sdb.yaml.html