Repository navigation
[2016.3] Merge forward from 2015.8 to 2016.3 - #31322
Merged
Merged
Conversation
…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.
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.
See saltstack#30081 for more information.
This prevents the pkg.check_db call if 0.1.15 is not able to be installed.
In the interest of not making salt.utils any more cluttered.
…roperly. Also reworking how what is returned from the validating functions is handled to ensure when beacon configurations aren't validate the results indicate exactly why.
The current version of exception handling for network.connect references variable '_address', but '_address' is not defined if a call to socket.getaddrinfo failed in the same try block.
eg.
>salt '<minion>' network.connect junkdomain 80
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1071, in _thread_return
return_data = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/network.py", line 1104, in connect
ret['comment'] = 'Unable to connect to {0} ({1}) on {2} port {3}'.format(host, _address[0], proto, port)
UnboundLocalError: local variable '_address' referenced before assignment
This patch catches socket.getaddrinfo execption socket.gaierror and returns with a friendly fail message.
…add_failing_and_other_fixes fixes to beacon module, state module and friends
…-invalid-hostname Fixed invalid host causing 'reference to variable before assignment'
Documentation clarifications.
Based on work by @l13t in saltstack#29426. Added tests and fixed incorrect appending of the built rule. Closes saltstack#29423.
Back-port saltstack#31157 to 2015.8
Back-port saltstack#29718 to 2015.8
…ip-reservation Fixed named external_ip reservation/re-use code in gce driver.
[2015.8] Merge forward from 2015.5 to 2015.8
…ersion_cmp implement version_cmp for zypper
Reworked the test structure design for the gluster module and state so I could create a test that mimiced the behavior difference between 3.7 and prior versions when reverse probing by ip a server that already exists. Added the additional data given by gluster 3.7 to the output of glusterfs.list_peers to allow us to compare a requested peering against a host's aliases. Fixes saltstack#30932
Improve salt.states.ssh_known_hosts documentation.
Fix in file_tree pillar (Fixes saltstack#31223.)
This fixes problems with the --unset-upstream handling added in the previous commit. See saltstack#31245 (comment) for more info.
This restricts the git state module to git 1.6.5 or later, as some of the core functionality needed for git.latest was not present before that version. This release is over 6 years old now, so this change should be safe to make. In addition, this stops git.latest from trying to use the --ff-only argument when running a git merge to fast-forward the repo, in versions where this option is not available.
…15.5-2015.8 Merge 2015.5 into 2015.8
Audit CLI opts used in git states
Corrected fix for saltstack#30999
Fix versonadded directive
Allow state-output and state-verbose default settings to be set from CLI
Here are a few fixes utils.network
…robe_by_ip Rework tests and fix reverse peering with gluster 3.7
Conflicts: - salt/beacons/inotify.py - salt/beacons/load.py - salt/minion.py - salt/modules/win_update.py - salt/modules/yumpkg.py - salt/utils/pkg/rpm.py
|
Approved |
cachedout
pushed a commit
that referenced
this pull request
Feb 18, 2016
[2016.3] Merge forward from 2015.8 to 2016.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Conflicts: