salt.states.mac_defaults module

Writing/reading defaults from a macOS minion

salt.states.mac_defaults.__virtual__()

Only work on Mac OS

salt.states.mac_defaults.absent(name, domain, user=None)

Make sure the defaults value is absent

name
The key of the given domain to remove
domain
The name of the domain to remove from
user
The user to write the defaults to
salt.states.mac_defaults.write(name, domain, value, vtype=u'string', user=None)

Write a default to the system

name
The key of the given domain to write to
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

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2018.3.0

Table Of Contents

Previous topic

salt.states.mac_assistive module

Next topic

salt.states.mac_keychain module