Skip to content

[2015.8] Merge forward from 2015.5 to 2015.8 - #31273

Merged
cachedout merged 16 commits into
saltstack:2015.8from
rallytime:merge-2015.5
Feb 17, 2016
Merged

cachedout merged 16 commits into
saltstack:2015.8from
rallytime:merge-2015.5

Conversation

@rallytime

Copy link
Copy Markdown
Contributor

Conflicts:

  • salt/modules/win_update.py
  • salt/states/win_update.py

mpreziuso and others added 16 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.
Conflicts:
  - salt/modules/win_update.py
  - salt/states/win_update.py
cachedout pushed a commit that referenced this pull request Feb 17, 2016
[2015.8] Merge forward from 2015.5 to 2015.8
@cachedout
cachedout merged commit 93c03a4 into saltstack:2015.8 Feb 17, 2016
@rallytime
rallytime deleted the merge-2015.5 branch February 17, 2016 20:28
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.

3 participants