System Profiler Module
Interface with macOS's command-line System Profiler utility to get information about package receipts and installed applications.
New in version 2015.5.0.
salt.modules.system_profiler.
applications
()¶Return the results of a call to
system_profiler -xml -detail full SPApplicationsDataType
as a dictionary. Top-level keys of the dictionary
are the names of each set of install receipts, since
there can be multiple receipts with the same name.
Contents of each key are a list of dictionaries.
Note that this can take a long time depending on how many applications are installed on the target Mac.
CLI Example:
salt '*' systemprofiler.applications
salt.modules.system_profiler.
receipts
()¶Return the results of a call to
system_profiler -xml -detail full SPInstallHistoryDataType
as a dictionary. Top-level keys of the dictionary
are the names of each set of install receipts, since
there can be multiple receipts with the same name.
Contents of each key are a list of dictionaries.
CLI Example:
salt '*' systemprofiler.receipts
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy