Commit Graph

81963 Commits

Author SHA1 Message Date
Mike Place
445f603568 Fix incorrect indentation 2017-06-19 09:37:00 -06:00
Daniel Wallace
4bf030ff65 don't break py2 2017-06-16 13:11:51 -06:00
Daniel Wallace
b65edc786c handle unordered sets in unique jinja tests 2017-06-16 08:40:40 -06:00
Daniel Wallace
05f2c66604 handle bytes strings in mock_open 2017-06-15 22:43:40 -06:00
Daniel Wallace
4f7c6d1161 use our own mock_open
test.support.mock.mock_open specifies a side effect so that if you constantly
read a mocked open call, it will only iterate through it once, and then after
it will appear as if the end of the file has been reached.

This is needed for salt.modules.cp.push to be tested correctly.
2017-06-15 17:50:35 -06:00
Mike Place
a46f6809df Merge pull request #41758 from twangboy/docs_win_add_master_config
Add Windows Master config information
2017-06-15 15:29:27 -05:00
Mike Place
b12611d122 Merge pull request #41617 from cro/n_proxy_tests
Port salt-proxy tests to the testsuite changes in Nitrogen.
2017-06-15 12:07:29 -05:00
twangboy
c3dc38587e Fix indentation 2017-06-15 09:49:13 -06:00
Mike Place
d8b83af3d6 Merge pull request #41745 from terminalmage/fix-runtests-helpers
Fix runtests_helpers.modules_available when multiple modules passed
2017-06-15 10:14:16 -05:00
Mike Place
c58f3811ce Merge pull request #41746 from rallytime/version-added-nitrogen
Update Nitrogen references to 2017.7.0
2017-06-15 10:12:18 -05:00
Mike Place
b6b3eb1aa1 Merge pull request #41767 from rallytime/exit_status_test
Disable new part of test_exit_status_correct_usage test for now
2017-06-15 10:02:02 -05:00
Mike Place
fbd27744e4 Merge pull request #41764 from cloudflare/fix-capirca
Add new term field for capirca Term class
2017-06-15 09:59:13 -05:00
rallytime
33905fd520 Disable new part of test_exit_status_correct_usage test for now
This new part of the test_exit_status_correct_usage test was added
in PR #41382. This test, along with some memory leakage for the
test running in Python 3, has exposed an underlying issue with
Minion._thread_return subprocessing in the test suite. Due to this
issue, this test is extremely flaky.

Per @DmitryKuzmenko's recomendation in https://github.com/saltstack/salt-jenkins/issues/378,
this test should be commented out for the time being. He is planning
on coming back to this issue to uncomment the test once the underlying
problem has been resolved.
2017-06-15 08:44:34 -06:00
Mircea Ulinic
db255d3702 Add new term field for capirca Term class 2017-06-15 11:50:08 +00:00
Nicole Thomas
b26542efe3 Merge pull request #41751 from rallytime/merge-2017.7
[2017.7] Merge forward from 2016.11 to 2017.7
2017-06-14 16:14:54 -06:00
twangboy
80ac6381c2 Add Windows Master config information 2017-06-14 15:15:46 -06:00
rallytime
65cf36f607 Use salt.utils.versions file for LooseVersion in 2017.7 2017-06-14 13:34:34 -06:00
rallytime
16a2747d7d Merge branch '2016.11' into '2017.7'
Conflicts:
  - pkg/windows/buildenv/salt.bat
  - salt/modules/pillar.py
  - salt/utils/openstack/nova.py
  - tests/unit/cloud/clouds/test_dimensiondata.py
  - tests/unit/cloud/clouds/test_gce.py
2017-06-14 13:31:42 -06:00
garethgreenaway
edcafc6a26 Merge pull request #41692 from rallytime/fix-40155
Add boto and boto3 version dependencies to boto_vpc state docs
2017-06-14 12:05:06 -07:00
Mike Place
afa01f0cc9 Merge pull request #41744 from twangboy/docs_win_add_firewall
Add instructions for Opening Windows Firewall for Salt
2017-06-14 13:53:07 -05:00
Erik Johnson
bdaeb55a77 Merge pull request #40902 from lorengordon/pillar-get-merge-lists
Removes duplicates when merging pillar lists and adds pillar.get override for pillar_merge_lists
2017-06-14 13:39:08 -05:00
rallytime
2b51a20d02 Replace "nitrogen" references with 2017.7.0, too! 2017-06-14 12:20:45 -06:00
rallytime
cc07664a9f Replace Nitrogen with 2017.7.0 in remain directories 2017-06-14 12:18:37 -06:00
Erik Johnson
5c970d81e5 Fix runtests_helpers.modules_available when multiple modules passed
tests.support.helpers passes the single-asterisk tuple of args as
individual arguments to runtest_helpers.modules_available. This breaks
tests which pass more than one argument to the requires_salt_modules
decorator.

This has been fixed by making runtests_helpers.modules_available accept
an arbitrary number of args via using a single-asterisk.
2017-06-14 13:16:30 -05:00
rallytime
00ecda1002 Replace Nitrogen references with 2017.7.0 in modules/* 2017-06-14 12:14:27 -06:00
rallytime
67368b07da Replace Nitrogen with 2017.7.0 for the following directories:
- netapi
- output
- pillar
- proxy
- renderers
- returners
- roser
- runners
- sdb
2017-06-14 11:59:55 -06:00
rallytime
b0145578bf Update Nitrogen references to 2017.7.0 for states, utils, tests directory
Also updated version.py with release tuple
2017-06-14 11:54:27 -06:00
twangboy
795a1aab4f Add instructions for Windows Firewall 2017-06-14 11:42:00 -06:00
rallytime
c5b75d030a Update Nitrogen references to 2017.7.0 in doc/* 2017-06-14 11:36:06 -06:00
garethgreenaway
203ec6730f Merge pull request #41723 from rallytime/libcloud-support
Support apache-libcloud work-around for issue #32743 for versions older than 2.0.0
2017-06-14 10:13:38 -07:00
Mike Place
62dbf5083c Merge pull request #41655 from Enquier/nova-cloud-set_ip_address
Allow Nova cloud module to set a specific floating ip address
2017-06-14 11:44:04 -05:00
rallytime
1e9a06000b Bump version check down to 1.4.0 and use distutils.version lib 2017-06-14 09:30:22 -06:00
Nicole Thomas
82eab84883 Merge pull request #41731 from terminalmage/docs
Clarify that archive_format is required pre-2016.11.0
2017-06-14 09:05:20 -06:00
Erik Johnson
d3f4ea1a84 Clarify that archive_format is required pre-2016.11.0
This makes it more clear that the archive_format can only be left off if
you are running 2016.11.0 or newer.
2017-06-13 22:51:24 -05:00
Loren Gordon
6e35673fe3 Preserves order when removing duplicates 2017-06-13 17:45:08 -04:00
Loren Gordon
18eda7084c Updates list merge tests to check for sorted, unique lists 2017-06-13 17:45:08 -04:00
Loren Gordon
74bf91f99e Sorts the list when removing duplicates 2017-06-13 17:45:08 -04:00
Loren Gordon
26a4b1b17f Adds pillar.get param to control list merge/overwrite behavior
Previously, `pillar.get` would always default list merge behavior
based on the value of the opt `pillar_merge_lists`. This isn't
always desirable, particularly when creating a dictionary of
default values in a state and merging those defaults with a pillar
key. Sometimes you want a list in pillar to overwrite the default.

This patch adds a param `deep_merge_lists` that allows a user to
specify whether lists within the returned dictionary should be
merged with or overwrite lists within the `default` dictionary.

If unspecified, the new param defaults to the prior behavior.
2017-06-13 17:45:08 -04:00
Loren Gordon
ed04bae94c Removes duplicate values when merging lists
Fixes #39918
2017-06-13 17:44:53 -04:00
Mike Place
b6d27beac2 Merge pull request #41663 from skizunov/develop3
Don't invoke lspci if enable_lspci is False
2017-06-13 16:19:42 -05:00
Mike Place
10b68e9375 Merge pull request #41698 from rallytime/flaky-decorator-tcp-test
Add flaky decorator to test_badload in tcp unit tests
2017-06-13 16:13:44 -05:00
rallytime
a30f654b04 Support apache-libcloud work-around for issue #32743 for versions older than 2.0.0
If apache-libcloud 2.0.0 is installed, the workaround outlined in issue #32743
no longer applies and should be avoided. However, we still need to support older
versions of apache-libcloud that need this work-around.

The minimum version required of apache-libcloud has been updated to 2.0.0 in pull
request #40837, which will released in Oxygen. #40837 has removed all of the
work-arounds needed for issue #32743 for 2.0.0. Until Oxygen is released, however,
we need to support both the work-around for older versions of apache-libcloud as
well as 2.0.0.
2017-06-13 14:22:32 -06:00
Mike Place
46b8d5dc4b Merge pull request #41693 from rallytime/fix-40446
Document available kwargs for ec2.create_volume function
2017-06-13 14:51:10 -05:00
garethgreenaway
aab55d304a Merge pull request #41696 from terminalmage/issue41691
Handle a few edge/corner cases with non-string input to cmd.run
2017-06-13 11:48:56 -07:00
Nicole Thomas
2524218e25 Merge pull request #41718 from rallytime/merge-nitrogen
[nitrogen] Merge forward from 2016.11 to nitrogen
2017-06-13 12:11:25 -06:00
Nicole Thomas
97897d7a7a Merge pull request #41697 from terminalmage/pr-41545
Resubmit #41545 against 2016.11 branch
2017-06-13 10:10:37 -06:00
Nicole Thomas
09260d7c08 Merge pull request #41711 from rallytime/fix-40605
Update deprecated version info in manage.bootstrap func for root_user
2017-06-13 10:04:32 -06:00
Nicole Thomas
d563b3e345 Merge pull request #41658 from garethgreenaway/39668_schedule_runners_fire_events
Fixes to the salt scheduler
2017-06-13 10:00:57 -06:00
garethgreenaway
3c3b9343b7 Merge pull request #41706 from twangboy/batch_files
Add missing batch files
2017-06-13 08:32:53 -07:00
rallytime
bdf33d7f5f Merge branch '2016.11' into 'nitrogen'
No conflicts.
2017-06-13 09:26:05 -06:00