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_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 http://docs.saltstack.com/en/latest/ref/configuration/master.html#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',

}

salt.wheel.config.values()

Return the raw values of the config file

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2015.5.1

Previous topic

salt.wheel.pillar_roots

Next topic

salt.wheel.error