Commit Graph

82988 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nicole Thomas
42bd553b98 Merge pull request #42963 from twangboy/win_unit_test_fileclient
Fix `unit.test_fileclient` for Windows
2017-08-16 10:18:17 -04:00
Nicole Thomas
7dddeeea8d Merge pull request #42964 from twangboy/win_fix_recursive_copy
Fix `salt.utils.recursive_copy` for Windows
2017-08-16 10:17:26 -04:00
Nicole Thomas
1ee9499d28 Merge pull request #42968 from vutny/doc-salt-cloud-ref
[DOCS] Fix link to Salt Cloud Feature Matrix
2017-08-16 09:16:16 -04:00
Denys Havrysh
44ed53b1df [DOCS] Fix link to Salt Cloud Feature Matrix 2017-08-16 10:26:45 +03:00
Mike Place
923f9741fe Merge pull request #42291 from vutny/fix-38839
Fix #38839: remove `state` from Reactor runner kwags
2017-08-15 17:01:08 -06:00
twangboy
121cd4ef81 Fix salt.utils.recursive_copy for Windows
Use os.sep instead of hard-coded `/`
2017-08-15 16:53:28 -06:00
twangboy
e9febe4893 Fix unit.test_fileclient
Use os.sep instead of hard-coded, unix-style paths
2017-08-15 16:34:03 -06:00
Mike Place
c20bc7d515 Merge pull request #42940 from gtmanfred/2016.11
create new ip address before checking list of allocated ips
2017-08-15 15:47:17 -06:00
Nicole Thomas
6da4d1d95e Merge pull request #42946 from cloudflare/px_extmods_42943
extension_modules should default to $CACHE_DIR/proxy/extmods
2017-08-15 17:26:35 -04:00
Nicole Thomas
d6496eca72 Merge pull request #42959 from rallytime/bp-42883
Back-port #42883 to 2016.11
2017-08-15 17:25:47 -04:00
Daniel Wallace
253e216a8d fix IP address spelling 2017-08-15 12:30:03 -06:00
rallytime
c6b9ca4b9e Lint fix: add missing space 2017-08-15 14:26:44 -04:00
rallytime
5597b1a30e Skip 2 failing tests in Python 3 due to upstream bugs 2017-08-15 14:26:44 -04:00
rallytime
a0b19bdc27 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-15 14:23:00 -04:00
rallytime
60b406e088 @mock_elb needs to be changed to @mock_elb_deprecated as well 2017-08-15 14:23:00 -04:00
rallytime
6ae1111295 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-15 14:22:59 -04:00
Nicole Thomas
6366e05d0d Merge pull request #42944 from Ch3LL/2016.11.6_follow_up
[2016.11] Add clean_id function to salt.utils.verify.py
2017-08-15 14:06:11 -04:00
Nicole Thomas
95645d49f9 Merge pull request #42945 from Ch3LL/2017.7.0_follow_up
[2017.7] Add clean_id function to salt.utils.verify.py
2017-08-15 14:04:19 -04:00
Nicole Thomas
47ff9d5627 Merge pull request #42812 from terminalmage/yaml-loader-tests
Update custom YAML loader tests to properly test unicode literals
2017-08-15 13:50:22 -04:00
Mike Place
5d0c2198ac Merge pull request #42953 from Ch3LL/latest_2017.7
[2017.7] Bump latest and previous versions
2017-08-15 11:23:27 -06:00
Mike Place
49d339c976 Merge pull request #42952 from Ch3LL/latest_2016.11
[2016.11] Bump latest and previous versions
2017-08-15 11:23:02 -06:00
Ch3LL
cbecf65823 [2017.7] Bump latest and previous versions 2017-08-15 12:55:02 -04:00
Ch3LL
74e7055d54 [2016.11] Bump latest and previous versions 2017-08-15 12:54:12 -04:00
Mike Place
b0d2e05a79 Merge pull request #42950 from Ch3LL/2016.11.7_docs
Add Security Notice to 2016.11.7 Release Notes
2017-08-15 10:50:23 -06:00
Mike Place
730e71db17 Merge pull request #42951 from Ch3LL/2017.7.1_docs
Add Security Notice to 2017.7.1 Release Notes
2017-08-15 10:49:55 -06:00
Ch3LL
1d8f827c58 Add Security Notice to 2017.7.1 Release Notes 2017-08-15 12:37:50 -04:00
Ch3LL
a6f902db40 Add Security Notice to 2016.11.77 Release Notes 2017-08-15 12:35:37 -04:00
Ch3LL
7e0a20afca Add release notes for 2016.11.7 release 2017-08-15 12:26:35 -04:00
Ch3LL
63823f8c3e Add clean_id function to salt.utils.verify.py 2017-08-15 12:24:47 -04:00
Mircea Ulinic
73f9135340 extension_modules should default to /proxy/extmods
Additionally, append it to the append_minionid_config_dirs
list, so each proxy caches its extension modules separately.
2017-08-15 16:09:05 +00:00
Erik Johnson
9d8486a894 Add test for custom YAML loader with unicode literal strings 2017-08-15 11:06:20 -05:00
Ch3LL
dcd92042e3 remove extra doc 2017-08-15 12:05:54 -04:00
Erik Johnson
a0118bcece Remove bytestrings and use textwrap.dedent for readability
PyYAML works with and without bytestrings on PY3, and Python 3 can read
all of the test data as regular strings, so bytestrings are unnecessary
here.

This also adds use of textwrap.dedent to make the YAML easier to read,
so it can be indented away from the far left side of the line.
2017-08-15 11:05:48 -05:00
Ch3LL
693a504ef0 update release notes with cve number 2017-08-15 11:57:33 -04:00
Daniel Wallace
bd63074e7a create new ip address before checking list of allocated ips
This will help prevent a race condition of all cloud servers being built in
parallel trying to build with the same floating ip address.
2017-08-15 09:19:05 -06:00
Nicole Thomas
c1c8cb9bfa Merge pull request #42868 from carsonoid/redisjobcachefix
Stub out required functions in redis_cache
2017-08-15 10:33:54 -04:00
Mike Place
e192d6e0af Merge pull request #42810 from amendlik/win-snmp-community
Ignore error values when listing Windows SNMP community strings
2017-08-14 21:55:15 -06:00
Mike Place
a1817f1de3 Merge pull request #42920 from cachedout/pid_race
pid_race
2017-08-14 21:49:09 -06:00
Mike Place
11a33fe692 Merge pull request #42925 from terminalmage/f26-debug-logging
Add debug logging to troubleshoot test failures
2017-08-14 21:47:50 -06:00
Erik Johnson
8165f46165 Add debug logging to troubleshoot test failures
This adds logging to troubleshoot https://github.com/saltstack/salt-jenkins/issues/477
2017-08-14 16:28:09 -05:00
Nicole Thomas
c0ff69f88c Merge pull request #42836 from lyft/backport-utils.versions-to-2016.11
Backport salt.utils.versions from develop to 2016.11
2017-08-14 16:56:54 -04:00
Nicole Thomas
a537197030 Merge pull request #42913 from twangboy/win_change_timeout
Change service shutdown timeouts for salt-minion service (Windows)
2017-08-14 16:55:24 -04:00