Manage the master configuration file
Set a single key
Note
This will strip comments from your config file
Update master config with yaml_contents
.
Writes yaml_contents
to a file named file_name.conf
under the folder specified by default_include
. This folder is named master.d
by default. Please look at include-configuration
for more information.
Example low data:
data = { 'username': 'salt', 'password': 'salt', 'fun': 'config.update_config', 'file_name': 'gui', 'yaml_contents': {'id': 1}, 'client': 'wheel', 'eauth': 'pam', }
Return the raw values of the config file
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/wheel/all/salt.wheel.config.html