Commit Graph

82877 Commits

Author SHA1 Message Date
Erik Johnson
1764878754 Merge pull request #42883 from rallytime/fix-boto-tests
Fix failing boto tests
2017-08-11 15:29:11 -05:00
Nicole Thomas
b21778efac Merge pull request #42885 from terminalmage/fix-f26-tests
Move weird tearDown test to an actual tearDown
2017-08-11 15:14:41 -04:00
garethgreenaway
9868ab6f3b Merge pull request #42887 from rallytime/fix-42870
Remove extraneous "deprecated" notation
2017-08-11 11:34:24 -07:00
rallytime
71e7581a2d Remove extraneous "deprecated" notation
This deprecated notation was supposed to be on the "useradd_all"
function, but somehow was moved to the "useradd" function.

Fixes #42870
2017-08-11 14:31:17 -04:00
rallytime
6a7bf99848 Lint fix: add missing space 2017-08-11 14:19:15 -04:00
Nicole Thomas
da71f2a11b Merge pull request #42881 from gtmanfred/vmware
fix vmware for python 3.4.2 in salt.utils.vmware
2017-08-11 13:52:29 -04:00
Erik Johnson
462d653082 Move weird tearDown test to an actual tearDown
Also catch KeyError when user doesn't exist
2017-08-11 12:20:50 -05:00
rallytime
43643227c6 Skip 2 failing tests in Python 3 due to upstream bugs 2017-08-11 12:57:39 -04:00
Daniel Wallace
05ecc6ac8d fix vmware for python 3.4.2 in salt.utils.vmware 2017-08-11 10:14:38 -06:00
Nicole Thomas
c7750d5717 Merge pull request #42845 from brejoc/updates-for-kubernetes-2.0.0
API changes for Kubernetes version 2.0.0
2017-08-11 10:04:30 -04:00
Nicole Thomas
459fdedc67 Merge pull request #42678 from frankiexyz/2017.7
Add eos.rst in the installation guide
2017-08-11 09:58:36 -04:00
Nicole Thomas
4ce96eb1a1 Merge pull request #42778 from gtmanfred/spm
make sure to use the correct out_file
2017-08-11 09:44:47 -04:00
Nicole Thomas
3d05d89e09 Merge pull request #42857 from gtmanfred/vmware
use older name if _create_unverified_context is unvailable
2017-08-11 09:37:58 -04:00
Nicole Thomas
7e8cfff21c Merge pull request #42866 from twangboy/osx_downgrade_gitpython
Change to GitPython version 2.1.1
2017-08-11 09:23:51 -04:00
Jochen Breuer
81674aa88a Version info in :optdepends: not needed anymore
Since this should work with 1.x.x and 2.x.x we don't have to provide a ersion info.
2017-08-11 11:20:42 +02:00
Jochen Breuer
71995505bc Not depending on specific K8s version anymore
Kubernetes imports are no longer version specific. Seems like the API change
was just a rename, so now we are importing either `V1beta1Deployment` or
`AppsV1beta1Deployment`. Usage stays the same.
2017-08-11 08:57:03 +02:00
twangboy
28053a84a6 Change GitPython version to 2.1.1
Version 2.1.4+ requires git to be installed, usually in the form of xcode
command line tools. 2.1.3 has a memory leak problem, 2.1.2 is not
available. So that leaves 2.1.1.
2017-08-10 17:39:58 -06:00
Nicole Thomas
3ce18637be Merge pull request #42855 from rallytime/merge-2017.7
[2017.7] Merge forward from 2016.11 to 2017.7
2017-08-10 17:40:38 -04:00
rallytime
7f46603e9c Update account id value in boto_secgroup module unit test
This value was updated in moto 1.0.0 with the following commit:

5f3fbff627
2017-08-10 17:31:14 -04:00
rallytime
7c1d493fdd @mock_elb needs to be changed to @mock_elb_deprecated as well 2017-08-10 17:15:45 -04:00
Daniel Wallace
c1f673eca4 use older name if _create_unverified_context is unvailable 2017-08-10 14:43:33 -06:00
rallytime
3055e17ed5 Replace @mock_ec2 calls with @mock_ec2_deprecated calls
moto versions >= 1.0.0 have changed the way the mocked connections through
boto are handled with the @mock_ec2 decorator. They use the boto3 connection
method. However, since we are still using boto in many places, we need to use
the new @mock_ec2_deprecated decorator instead to handle the boto connection
functions for the unit tests.

Versions of moto < 1.0.0 are not Python 3 compatible, so salt-jenkins should
be installing newer versions of moto for those tests. Unfortunately, we cannot
install an older version of moto for Python2 that use the original @mock_ec2 call
and also import the @mock_ec2_deprecated function for newer versions of moto
simultaneously as the @mock_ec2_deprecated function doesn't exist in older
versions of moto.
2017-08-10 16:40:11 -04:00
rallytime
08bbcf5790 Merge branch '2016.11' into '2017.7'
Conflicts:
  - salt/modules/win_pkg.py
2017-08-10 14:51:27 -04:00
Nicole Thomas
2dde1f77e9 Merge pull request #42851 from terminalmage/bp-42651
Backport #42651 to 2016.11
2017-08-10 14:02:38 -04:00
Daniel Wallace
a3da86eea8 fix syntax 2017-08-10 11:08:27 -05:00
Daniel Wallace
6ecdbcec1d make sure names are correct 2017-08-10 11:08:26 -05:00
Daniel Wallace
f83b553d6e add py3 for versionlock 2017-08-10 11:08:26 -05:00
Daniel Wallace
21934f61bb python2- prefix for fedora 26 packages 2017-08-10 11:08:25 -05:00
Nicole Thomas
f954f4f33a Merge pull request #42808 from terminalmage/issue42774
Fix regression in yum/dnf version specification
2017-08-10 11:59:22 -04:00
Jochen Breuer
d8f7d7a7c0 API changes for Kubernetes version 2.0.0
Switching to the new Kubernetes client lib API introduced with version 2.0.0.
2017-08-10 16:35:45 +02:00
Nicole Thomas
d9b0f44885 Merge pull request #42807 from rallytime/fix-42639
Update modules --> states in kubernetes doc module
2017-08-10 10:10:39 -04:00
Nicole Thomas
c746f79a3a Merge pull request #42806 from rallytime/fix-42683
Update doc references in glusterfs.volume_present
2017-08-10 10:10:16 -04:00
Nicole Thomas
27a8a2695a Merge pull request #42829 from twangboy/win_pkg_fix_install
Fix passing version in pkgs as shown in docs
2017-08-10 10:07:24 -04:00
Nicole Thomas
3c3ac6aeb2 Merge pull request #42838 from twangboy/win_doc_pki
Document requirements for win_pki
2017-08-10 09:59:45 -04:00
Nicole Thomas
b8c7bda68d Merge pull request #42841 from Mapel88/patch-1
Fix bug #42818 in win_iis module
2017-08-10 09:44:20 -04:00
Mapel88
497241fbcb Fix bug #42818 in win_iis module
Exception in function "create_cert_binding".
function fails with the following exception:
2017-08-09 00:23:32,096 [salt.state ][ERROR ][2948] An exception occurred in this state: Traceback (most recent call last):
File "c:\salt\bin\lib\site-packages\salt\state.py", line 1837, in call
**cdata['kwargs'])
File "c:\salt\bin\lib\site-packages\salt\loader.py", line 1794, in wrapper
return f(*args, **kwargs)
File "c:\salt\var\cache\salt\minion\extmods\states\win_iisV2.py", line 326, in create_cert_binding
ipaddress, port, sslflags)
File "c:\salt\var\cache\salt\minion\extmods\modules\win_iisV2.py", line 861, in create_cert_binding
if binding_info not in new_cert_bindings(site):
TypeError: 'dict' object is not callable


**This is the problematic code:
new_cert_bindings = list_cert_bindings(site)
if binding_info not in new_cert_bindings(site):

Just need to remove (site) from second line as follows and it's fixed:
new_cert_bindings = list_cert_bindings(site)
if binding_info not in new_cert_bindings:**
2017-08-10 10:39:43 +03:00
twangboy
f0a1d06b46 Standardize PKI Client 2017-08-09 17:53:22 -06:00
twangboy
7de687aa57 Document requirements for win_pki 2017-08-09 17:49:20 -06:00
garethgreenaway
b3e2ae3c58 Merge pull request #42805 from rallytime/bp-42552
Back-port #42552 to 2016.11
2017-08-09 15:37:55 -07:00
garethgreenaway
d2ee7934ed Merge pull request #42804 from rallytime/bp-42784
Back-port #42784 to 2016.11
2017-08-09 15:37:40 -07:00
garethgreenaway
135f9522d0 Merge pull request #42782 from rallytime/fix-42697
Add a cmp compatibility function utility
2017-08-09 15:37:29 -07:00
Nicole Thomas
4cbf8057b3 Merge pull request #42826 from terminalmage/fix-spelling
Fix misspelling of "versions"
2017-08-09 15:39:42 -04:00
twangboy
83b9b230cd Add winrepo to docs about supporting versions in pkgs 2017-08-09 12:05:42 -06:00
twangboy
81fefa6e67 Add ability to pass version in pkgs list 2017-08-09 11:59:32 -06:00
Erik Johnson
00f93142e4 Fix misspelling of "versions" 2017-08-09 12:24:06 -05:00
Erik Johnson
c69f17dd18 Add integration test for #42774 2017-08-08 14:20:42 -05:00
Erik Johnson
78d826dd14 Fix regression in yum/dnf version specification
Resolves #42774.
2017-08-08 13:55:35 -05:00
rallytime
152eb88d9f Update modules --> states in kubernetes doc module
The kubernetes state docs are not rendering/building due to a typo
in the doc module.

Fixes #42639
2017-08-08 14:42:34 -04:00
rallytime
8c8640d6b8 Update doc references in glusterfs.volume_present
The "created" option has been deprecated in favor of volume_present
and the docs need to match.

Fixes #42683
2017-08-08 14:35:53 -04:00
remijouannet
5a91c1f2d1 update consul module following this documentation https://www.consul.io/api/acl.html 2017-08-08 14:21:49 -04:00