New in version 2014.7.0.
Set windows updates to run by category. Default behavior is to install all updates that do not require user interaction to complete.
Optionally set category
to a category of your choosing to only
install certain updates. default is all available updates.
In the example below, will install all Security and Critical Updates, and download but not install standard updates.
Example:
updates:
win_update.installed:
- categories:
- 'Critical Updates'
- 'Security Updates'
win_update.downloaded:
- categories:
- 'Updates'
You can also specify a number of features about the update to have a fine grain approach to specific types of updates. These are the following features/states of updates available for configuring:
This example installs all driver updates that don't require a reboot: Example:
gryffindor:
win_update.installed:
- includes:
- driver: True
- software: False
- reboot: False
salt.states.win_update.
PyWinUpdater
(categories=None, skipUI=True, skipDownloaded=True, skipInstalled=True, skipReboot=False, skipPresent=True, softwareUpdates=True, driverUpdates=False, skipHidden=True)¶AutoSearch
()¶Download
()¶GetAvailableCategories
()¶GetCategories
()¶GetDownloadResults
()¶GetInstallationResults
()¶Install
()¶Search
(searchString)¶SetCategories
(categories)¶SetInclude
(include, state)¶SetIncludes
(includes)¶salt.states.win_update.
downloaded
(name, categories=None, includes=None, retries=10)¶Cache updates for later install.
categories
is left empty, it will be assumed that you are
passing the category option through the name. These are separate
because you can only have one name, but can have multiple categories.The list of categories to be downloaded. These are simply strings in the update's information, so there is no enumeration of the categories available. Known categories include:
A list of features of the updates to cull by. Available features include:
salt.states.win_update.
installed
(name, categories=None, includes=None, retries=10)¶Install specified windows updates.
categories
is left empty, it will be assumed that you are
passing the category option through the name. These are separate
because you can only have one name, but can have multiple categories.The list of categories to be downloaded. These are simply strings in the update's information, so there is no enumeration of the categories available. Known categories include:
A list of features of the updates to cull by. Available features include: