salt.states.macdefaults#
Writing/reading defaults from a macOS minion#
- salt.states.macdefaults.absent(name, domain, user=None, name_separator=None)#
Make sure the defaults value is absent
- name
The key of the given domain to remove. It can be a nested key/index separated by name_separator.
- name_separator
The separator to use when splitting the name into a list of keys. If None, the name will not be split (Default).
New in version 3008.0.
- domain
The name of the domain to remove from
- user
The user to write the defaults to
- salt.states.macdefaults.write(name, domain, value, vtype=None, name_separator=None, user=None)#
Write a default to the system
- name
The key of the given domain to write to. It can be a nested key/index separated by name_separator.
- name_separator
The separator to use when splitting the name into a list of keys. If None, the name will not be split (Default).
New in version 3008.0.
- domain
The name of the domain to write to
- value
The value to write to the given key
- vtype
The type of value to be written. Valid types are string, data, int[eger], float, bool[ean], date, array, array-add, dict, dict-add
- user
The user to write the defaults to