Commit Graph

83308 Commits

Author SHA1 Message Date
garethgreenaway
4150b094fe Merge pull request #43033 from rallytime/bp-42760
Back-port #42760 to 2016.11
2017-08-17 15:24:42 -07:00
garethgreenaway
33fd8ff939 Update jenkins.py 2017-08-17 15:22:31 -07:00
Erik Johnson
f8f74a310c Update localfs cache tests to reflect changes to func naming 2017-08-17 17:19:34 -05:00
Mike Place
fc306fc8c3 Add missing colon in if statement 2017-08-17 15:57:42 -06:00
twangboy
fbe54c9a33 Remove unused import six (lint) 2017-08-17 15:54:38 -06:00
Mike Place
b124d3667e Merge pull request #43032 from rallytime/bp-42547
Back-port #42547 to 2016.11
2017-08-17 15:53:50 -06:00
Daniel Wallace
7e269cb368 catch ImportError for kubernetes.client import 2017-08-17 15:46:10 -06:00
matt
73315f0cf0 Issue #43036 Bhyve virtual grain in Linux VMs 2017-08-17 17:06:17 -04:00
rallytime
756128a896 Merge branch '2017.7.1' into '2017.7'
No conflicts.
2017-08-17 16:52:06 -04:00
Maximilien Cuony
350c0767dc Try to fix #42989 by doing sslVerify and refspecs for origin remote only if there is no remotes 2017-08-17 16:45:47 -04:00
Aljosha Friemann
3e3f7f5d8e Catch TypeError thrown by m2crypto when parsing missing subjects in certificate files. 2017-08-17 16:38:37 -04:00
Tobias Macey
ea4d7f4176 Updated testinfra modules to work with more recent versions
The TestInfra library changed the package layout recently which caused
the extension module to stop working. This patch addresses those
updates and will work across all versions of the library.
2017-08-17 16:36:59 -04:00
rallytime
d6a5e85632 Small cleanup to dockermod.save
Removes the call to get ``compression`` out of the kwargs dict as
``compression`` is already listed in the list of positional kwargs.
2017-08-17 16:30:46 -04:00
twangboy
7f5ee55f57 Fix unit.utils.test_url for Windows
Detect escaped urls in Windows
Unescape urls in Windows
Fix tests to deal with sanitized Windows paths
2017-08-17 14:20:25 -06:00
Erik Johnson
c4ae79b229 Rename other refs to cache.ls with cache.list 2017-08-17 15:06:09 -05:00
Nicole Thomas
a88386ad44 Merge pull request #43027 from pabloh007/fix-docker-save-push-2016-11
Fixes ignore push flag for docker.push module issue #42992
2017-08-17 15:55:37 -04:00
Erik Johnson
ee59d127e8 Normalize the salt caching API
https://github.com/saltstack/salt/pull/40429 changed the attribute used
in `salt/cache/__init__.py` without considering the usage of the cache
system elsewhere in the codebase. This led to a cascade of additional
changes to try to make everything work correctly.

This commit does 2 things:

1) Reverts the calls to the list function to use `list` instead of `ls`
   to conform with the established API used elsewhere in the codebase.

2) Modifies the cache modules so that they now use `list_` functions,
   aliased to `list` so that calls to cache loader instances' `*.list`
   functions elsewhere in the codebase will work.
2017-08-17 14:50:34 -05:00
Daniel Wallace
ba80a7d4b5 use a ruby gem that doesn't have dependencies 2017-08-17 13:45:10 -06:00
Erik Johnson
822eabcc81 Catch exceptions raised when making changes to jenkins 2017-08-17 13:52:27 -05:00
Nicole Thomas
160001120b Merge pull request #42993 from pabloh007/fix-docker-save-push
Fixes ignored push flag for docker.push module issue #42992
2017-08-17 14:50:36 -04:00
garethgreenaway
9009a971b1 Merge pull request #42967 from terminalmage/issue42941
Fix bug in on_header callback when no Content-Type is found in headers
2017-08-17 11:48:52 -07:00
garethgreenaway
51d16840bb Merge pull request #42890 from DSRCorporation/bugs/42627_salt-cp
Make chunked mode in salt-cp optional
2017-08-17 11:37:43 -07:00
Daniel Wallace
0eb15a1f67 test with gem that appears to be abandoned 2017-08-17 14:28:39 -04:00
Pablo Hernandez
d0fd949f85 Fixes ignore push flag for docker.push module issue #42992 2017-08-17 14:24:48 -04:00
Nicole Thomas
58f070d7a7 Merge pull request #43016 from gtmanfred/service
service should return false on exception
2017-08-17 14:08:04 -04:00
Nicole Thomas
b3c253cdfa Merge pull request #43009 from rallytime/merge-2016.11
[2016.11] Merge forward from 2016.3 to 2016.11
2017-08-17 14:00:08 -04:00
garethgreenaway
37c63e7cf2 Merge pull request #43021 from terminalmage/fix-network-test
Use socket.AF_INET6 to get the correct value instead of doing an OS check
2017-08-17 10:57:08 -07:00
garethgreenaway
8f6423247c Merge pull request #43019 from rallytime/bootstrap_2017.08.17
Update bootstrap script to latest stable: v2017.08.17
2017-08-17 10:56:40 -07:00
twangboy
b04d1a2f18 Fix unit.utils.test_find for Windows
Fix skipIf statements
Use sys.maxsize instead of sys.maxint
2017-08-17 11:55:00 -06:00
Erik Johnson
4089b7b1bc Use socket.AF_INET6 to get the correct value instead of doing an OS check
This builds on #43014 with a more future-proof solution.
2017-08-17 12:12:27 -05:00
garethgreenaway
973d288eca Merge pull request #43020 from gtmanfred/test_gem
test with gem that appears to be abandoned
2017-08-17 09:40:40 -07:00
Daniel Wallace
0a1f40a664 test with gem that appears to be abandoned 2017-08-17 10:38:32 -06:00
rallytime
2f762b3a17 Update bootstrap script to latest stable: v2017.08.17 2017-08-17 12:31:25 -04:00
garethgreenaway
ff1caeee68 Merge pull request #43014 from Ch3LL/fix_network_mac
Change AF_INET6 family for mac in test_host_to_ips
2017-08-17 09:17:50 -07:00
Mike Place
9cd0607fd4 Merge pull request #42999 from garethgreenaway/slack_engine_allow_editing_messages
Fixes to slack engine
2017-08-17 09:46:23 -06:00
Erik Johnson
91b583b493 Improve and correct execption raising
SaltInvocationError is for invalid arguments, we should be using
CommandExecutionError elsewhere. Also, we don't use backticks as quotes.
Finally, this changes the message in the errors we raise when the
Jenkins bindings raise an exception so that it's a bit more descriptive
than "Something went wrong".
2017-08-17 10:38:50 -05:00
Erik Johnson
f096917a0e Raise an exception if we fail to cache the config xml 2017-08-17 10:28:35 -05:00
Mike Place
31627a9163 Merge pull request #43010 from rallytime/merge-2017.7
[2017.7] Merge forward from 2016.11 to 2017.7
2017-08-17 09:10:28 -06:00
Daniel Wallace
21c264fe55 service should return false on exception 2017-08-17 08:56:12 -06:00
Ch3LL
b8eee4401e Change AF_INET6 family for mac in test_host_to_ips 2017-08-17 10:55:53 -04:00
Dmitry Kuzmenko
cfddbf1c75 Apply code review: update the doc 2017-08-17 16:47:45 +03:00
rallytime
8a0f948e4a Merge branch '2016.11' into '2017.7'
Conflicts:
  - salt/utils/versions.py
  - tests/unit/modules/test_boto_elb.py
  - tests/unit/modules/test_boto_secgroup.py
  - tests/unit/states/test_boto_vpc.py
2017-08-17 09:10:31 -04:00
rallytime
566ba4fe76 Merge branch '2016.3' into '2016.11'
Conflicts:
  - doc/conf.py
2017-08-17 09:03:44 -04:00
SuperPommeDeTerre
0b666e100b Fix typo. 2017-08-17 13:28:10 +02:00
SuperPommeDeTerre
1b8729b3e7 Fix for #26995 2017-08-17 11:56:23 +02:00
Gareth J. Greenaway
0ece2a8f0c Fixing a bug that prevented editing Slack messages and having the commands resent to the Slack engine. 2017-08-16 16:28:05 -07:00
garethgreenaway
82be9dceb6 Merge pull request #42884 from Giandom/2017.7.1-fix-slack-engine-pillar-args
Convert to dict type the pillar string value passed from slack
2017-08-16 15:30:43 -07:00
twangboy
92dc3c0ece Use os.sep for path 2017-08-16 15:59:10 -06:00
Pablo Hernandez
fe7554cfeb Fixes ignored push flag for docker.push module issue #42992 2017-08-16 15:56:49 -04:00
twangboy
201ceae4c4 Fix lint, remove debug statement 2017-08-16 10:29:26 -06:00