Commit Graph

87131 Commits

Author SHA1 Message Date
Daniel Wallace
8a71a43025
Merge pull request #49774 from KaiSforza/declarativeToScripted
Move all pipelines to be fully scripted
2018-09-25 16:15:19 -05:00
Nicole Thomas
8fe8aac8f9
Merge pull request #49736 from mattLLVW/fix-file-touch
Fix test opts in append, prepend states/file.py
2018-09-25 16:11:35 -04:00
William Giokas
cae88f2a25
Move all pipelines to be fully scripted
This allows us to properly clean out the workspace before a job run.
2018-09-25 10:10:42 -06:00
twangboy
048561e56f
Add ability to clear DNS entries on static DNS
Execution Module:
- Passing no DNS servers will clear the list.
- Update documentation
- Added a note about clearing DNS entries

State Module
- An empty list in dns_servers will clear the entires
- None in dns_servers will do nothing (default behavior)
- Update Documentation
2018-09-24 15:28:54 -06:00
Nicole Thomas
f664515ac0
Merge pull request #49760 from Ch3LL/raid_docs
Add mdadm as dependency in mdadm state docs
2018-09-24 15:42:34 -04:00
Ch3LL
0eb90c1f15
Add mdadm as dependency in mdadm state docs 2018-09-24 15:15:38 -04:00
Nicole Thomas
d5a75bf9d0
Merge pull request #49749 from erwindon/docufix
fixed link in documentation
2018-09-24 09:30:46 -04:00
Erwin Dondorp
baee678ba5 fixed link in documentation 2018-09-22 17:00:17 +01:00
twangboy
1f9bbc8fff
Populate changes dictionary
Fix docs formatting
Clean up code
Use explicit function calls
Add comment about reboot status
2018-09-21 09:32:11 -06:00
matt LLVW
1da9f340dc Fix test opts in append, prepend states/file.py
Fixes #49604
2018-09-21 16:53:46 +02:00
Mike Place
5ef2def2bd
Merge pull request #49703 from twangboy/fix_49675_2017.7
Detect when system needs reboot after domain join (2017.7)
2018-09-20 12:04:16 -04:00
Mike Place
b5726d27be
Merge pull request #49718 from vutny/doc/2017.7/add-missing-mock-kwarg
[DOC] Add missing `mock` argument for `state.apply`
2018-09-20 09:22:06 -04:00
Denys Havrysh
3e19176664
[DOC] Add missing mock argument for state.apply 2018-09-20 12:06:37 +03:00
Mike Place
912722253c
Merge branch '2017.7' into fix_49675_2017.7 2018-09-19 16:12:45 -04:00
Gareth J. Greenaway
6bd85b5946
Merge pull request #49706 from garethgreenaway/1120_remove_mock_os_path_join
[2017.7] Removing os.path.join mocking from tests.
2018-09-18 21:09:09 -06:00
Gareth J. Greenaway
f4ccc75587
Removing mocking of os.path.join from two tests, one of which was failing when used with coverage argument. No reason we should be mocking os.path.join. 2018-09-18 16:58:48 -06:00
Nicole Thomas
c38dc61413
Merge pull request #49692 from rallytime/bp-49688
Back-port #49688 to 2017.7
2018-09-18 16:09:28 -04:00
twangboy
4f544225a3
Fix reboot needed detection
Fix the following:
- get_pending_update
- get_pending_domain_join
- get_pending_component_servicing
2018-09-18 13:35:32 -06:00
William Giokas
fde757517f
Order the runtests suites
Uses an ordered dictionary instead of a default python dict when
describing the `TEST_SUITES` variable. Sorts alphabetically based on the
name of the suite.
2018-09-18 10:04:02 -04:00
Nicole Thomas
37cbd274e5
Merge pull request #49685 from rallytime/pillar-headings
Fix heading line-lengths
2018-09-18 10:02:56 -04:00
Nicole Thomas
9bad295fad
Merge pull request #49689 from terminalmage/2017.7-docs
Fix docs build errors (2017.7 branch)
2018-09-18 09:36:27 -04:00
rallytime
02b2d544c0
Split intro docs for cmd_yamlex pillar into shorter lines. 2018-09-18 09:34:00 -04:00
Erik Johnson
7e5bab78c5
Fix docs build errors (2017.7 branch) 2018-09-17 22:35:08 -06:00
rallytime
c4cbe5b90e
Fix heading line-lengths
This will clean up some of the warnings found by building the documentation:

```
/root/SaltStack/salt/doc/ref/pillar/all/index.rst:55:<autosummary>:1: WARNING: Unexpected section title or transition.

=================
```
2018-09-17 16:36:16 -04:00
Nicole Thomas
3c8ec8a22f
Merge pull request #49644 from rallytime/mark-flaky-test
Mark grains test as flaky
2018-09-13 14:25:05 -04:00
Nicole Thomas
8ac66f1965
Merge pull request #49643 from rallytime/bp-49642
Back-port #49642 to 2017.7
2018-09-13 12:45:38 -04:00
rallytime
be8a187b4d Mark grains test as flaky 2018-09-13 16:17:02 +00:00
rallytime
accef8c7dd
Skip some unreliable tests
We need to investigate these more in the future, but let's skip them for now
so we can see some better signaling.
2018-09-13 10:33:59 -04:00
Nicole Thomas
7a75d5e9f4
Merge pull request #49597 from rallytime/bp-47232
Back-port #47232 to 2017.7
2018-09-12 10:25:15 -04:00
Nicole Thomas
2f6cdd9fd5
Merge pull request #49614 from rallytime/bp-49546
Back-port #49546 to 2017.7
2018-09-11 16:55:40 -04:00
rallytime
0f3881ab4f
Skip flaky test on Python 3
Even with the flaky decorator, this test sometimes passes and sometimes fails.

Let's skip it for now.
2018-09-11 14:15:52 -04:00
Nicole Thomas
aa560c5a8b
Merge pull request #49595 from rallytime/merge-2017.7
[2017.7] Merge forward from 2017.7.8 to 2017.7
2018-09-11 10:03:20 -04:00
Nicole Thomas
e8171de57b
Merge pull request #49596 from terminalmage/kill-bare-excepts-with-fire
Kill bare excepts with fire
2018-09-11 09:58:16 -04:00
Jochen Breuer
c477b70753
Fixed usage of ipaddress
ipaddress is imported either directly or from salt.ext. If we
use it, we shouldn't address it with salt.ext.ipaddress.
2018-09-10 16:09:49 -04:00
Erik Johnson
729dc0819f
Kill bare excepts with fire
These prevent the signal handlers from shutting down a process via a
raising a SystemExit. They are ticking time bombs of race conditions
that leave processes running when daemons are shut down or restarted.

Friends don't let friends use bare excepts.
2018-09-10 13:19:03 -06:00
rallytime
09247a33a2
Merge branch '2017.7.8' into '2017.7'
No conflicts.
2018-09-10 12:53:13 -04:00
Nicole Thomas
63b664334b
Merge pull request #49578 from twangboy/fix_49566
Use setup.py clean --all
2018-09-10 12:27:05 -04:00
Mike Place
6a5a69c8be
Merge branch '2017.7' into fix_49566 2018-09-10 07:43:16 -06:00
Daniel Wallace
f9a01b72a0
Merge pull request #49584 from terminalmage/squelch-varstack-error
Squelch error logging when varstack is not installed
2018-09-08 23:33:02 -05:00
Erik Johnson
c79a823964
Squelch error logging when varstack is not installed
This gets rid of spurious errors when varstack isn't installed. Most
people won't use this so these errors are not helpful.
2018-09-08 18:17:54 -05:00
Daniel Wozniak
d4d2b3658f
Merge pull request #49579 from dwoz/flaky_test
Increase timeout for flaky git test
2018-09-07 20:32:48 -07:00
Daniel A. Wozniak
dbe40df7de
Increase timeout for flaky git test 2018-09-07 16:46:34 -07:00
twangboy
6105ebbebb
Use setup.py clean --all 2018-09-07 17:29:33 -06:00
Mike Place
5cbe60bc8d
Merge pull request #49570 from rallytime/doc-fixes
Some small doc fixes I noticed when poking around in the saltnado files
2018-09-07 19:07:50 -04:00
rallytime
de80bda813
Fix docstring + import order, move pylint disable to own line 2018-09-07 16:10:06 -04:00
Nicole Thomas
5d267a2db9
Merge pull request #49547 from rallytime/bp-49518
Back-port #49518 to 2017.7
2018-09-07 14:21:49 -04:00
Ch3LL
d520f9acc1
Add tests with filname in token data 2018-09-07 13:55:26 -04:00
Ch3LL
d45f6c7866
Add empty token salt-api integration tests 2018-09-07 13:55:26 -04:00
Erik Johnson
652dbf63f4
Ensure that tokens are hex to avoid hanging/errors in cherrypy 2018-09-07 13:55:18 -04:00
Gareth J. Greenaway
4d865b4b9e
Merge pull request #49560 from rallytime/pkgng-fix
[2017.7.8] Use correct path for is_true function
2018-09-07 09:31:35 -07:00