Set defaults on Mac OS
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 July 18, 2017 at 06:45:48 MDT.
You are viewing docs for the previous stable release, 2016.3.6. Switch to docs for the latest stable release, 2016.11.6, or to a recent doc build from the develop branch.
© 2017 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy