salt.wheel.config#
Manage the master configuration file
- salt.wheel.config.apply(key, value)#
Set a single key
Note
This will strip comments from your config file
- salt.wheel.config.update_config(file_name, yaml_contents)#
Update master config with
yaml_contents.Writes
yaml_contentsto a file namedfile_name.confunder the folder specified bydefault_include. This folder is namedmaster.dby default. Please look atinclude-configurationfor 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', }
- salt.wheel.config.values()#
Return the raw values of the config file