conf interface — VMware Salt API
conf interface
The LoadedMod class allows for the module loaded onto the sub to return custom sequencing, for instance it can be iterated over to return all functions
delete_master_config(master_id: <class 'str'>)
Delete config for a master.
Parameters
| master_id: | Identifier of master |
|---|
get_master_config(master_id: <class 'str'>)
Returns: <class 'str'>
Retrieve a master's configuration from the database
Parameters
| master_id: | Identifier of master |
|---|
replace_master_config(master_id: <class 'str'>, config_yaml: <class 'str'>)
Replace (wholesale) master config with the contents of config_yaml.
Parameters
| master_id: | Identifier of master |
|---|---|
| config_yaml: | A well-formed YAML string |
save_master_config(master_id: <class 'str'>, config_yaml: <class 'str'>)
Add/update a master's configuration in the database
Parameters
| master_id: | Identifier of master |
|---|---|
| config_data: | A dictionary of key and value pairs |