Set defaults on Mac OS
salt.modules.mac_defaults.
delete
(domain, key, user=None)¶Delete a default from the system
CLI Example:
salt '*' macdefaults.delete com.apple.CrashReporter DialogType
salt '*' macdefaults.delete NSGlobalDomain ApplePersistence
salt.modules.mac_defaults.
read
(domain, key, user=None)¶Write a default to the system
CLI Example:
salt '*' macdefaults.read com.apple.CrashReporter DialogType
salt '*' macdefaults.read NSGlobalDomain ApplePersistence
salt.modules.mac_defaults.
write
(domain, key, value, type='string', user=None)¶Write a default to the system
CLI Example:
salt '*' macdefaults.write com.apple.CrashReporter DialogType Server
salt '*' macdefaults.write NSGlobalDomain ApplePersistence True type=bool
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy