Skip to content

Fixup 30730 - #31110

Merged
cachedout merged 13 commits into
saltstack:2015.5from
cachedout:fixup_30730
Feb 10, 2016
Merged

cachedout merged 13 commits into
saltstack:2015.5from
cachedout:fixup_30730

Conversation

@cachedout

Copy link
Copy Markdown
Contributor

No description provided.

mpreziuso and others added 13 commits January 28, 2016 17:34
…win_update

- Changes `self.softwareUpdates` and `softwareUpdates` to `self.skipSoftwareUpdates` and `skipSoftwareUpdates`.
- Changes `self.driverUpdates` and `driverUpdates` to `self.skipDriverUpdates` and `skipDriverUpdates`.
- Changes if/else logic, emulating the same logic as in salt.states.win_update
- Changes default values

See saltstack#30081 for more information.
`skipHidden` skips hidden updates accordingly, but any changes to the 'hidden' key:value in the `includes` parameter won't be reflected in the object's variable `self.skipHidden` as `SetInclude` ignores that. This commit fixes that.

See saltstack#30081 for more information.
Parameter name (includes) is confusing as the entire internal logic is all about excluding updates.

See saltstack#30081 for more information.
If self.skipReboot is set, add `RebootRequired=0` to the search string, otherwise `RebootRequired=1`; as the official [documentation](https://msdn.microsoft.com/en-us/library/windows/desktop/aa386526(v=vs.85).aspx) specifies
- Changes `self.softwareUpdates` and `softwareUpdates` to `self.skipSoftwareUpdates` and `skipSoftwareUpdates`.
- Changes `self.driverUpdates` and `driverUpdates` to `self.skipDriverUpdates` and `skipDriverUpdates`.
- Changes default values.

Consistent with salt.module.win_update.py

See saltstack#30081 for more information.
`skipHidden` skips hidden updates accordingly, but any changes to the 'hidden' key:value in the `includes` parameter won't be reflected in the object's variable `self.skipHidden` as `SetInclude` ignores that. This commit fixes that.

Consistent with salt.module.win_update

See saltstack#30081 for more information.
Parameter name (includes) is confusing as the entire internal logic is all about excluding updates.

Consistent with salt.module.win_update.

See saltstack#30081 for more information.
cachedout pushed a commit that referenced this pull request Feb 10, 2016
@cachedout
cachedout merged commit fa3f474 into saltstack:2015.5 Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants