Paulo-Nunes
fb6f81835a
Edit requisite documentation
...
Fixes #49836
2018-10-01 21:08:49 -04:00
Daniel Wozniak
0587fbc5fd
Merge pull request #49828 from dwoz/testslogencoding
...
Use utf-8 encoding for salt-runtests.log
2018-10-01 07:54:22 -07:00
Nicole Thomas
15ccffdf70
Merge pull request #49848 from terminalmage/fix-version-rst-2017.7
...
Fix badly formatted versionadded directive (2017.7 branch)
2018-10-01 10:04:08 -04:00
Erik Johnson
af2dddb4e3
Fix badly formatted versionadded directive
...
A space here will cause the Sphinx role to treat whatever is after the
comma as the comment for the directive, so it will be rendered with
different CSS and look weird. Also, this fixes one syntactically
incorrect versionadded which included a typo.
2018-10-01 08:58:06 -05:00
Nicole Thomas
297031b042
Merge pull request #49777 from terminalmage/issue49738
...
Fix parallel states with long ID dec or name
2018-09-30 14:46:02 -04:00
Nicole Thomas
2b323df453
Merge branch '2017.7' into testslogencoding
2018-09-30 14:37:40 -04:00
Nicole Thomas
98c9372de7
Merge pull request #49763 from twangboy/fix_49730
...
Add ability to clear DNS entries on static DNS
2018-09-30 14:36:40 -04:00
Mike Place
99bc8f11c1
Merge branch '2017.7' into fix_49730
2018-09-30 09:24:54 -05:00
Nicole Thomas
fd46d35a55
Merge pull request #49823 from dubb-b/timeout_addition
...
Adding timeout to all pipelines so that the build aborts
2018-09-30 07:17:27 -04:00
Brett Benassi
b25ac9f773
Adding some changes for the status
2018-09-28 15:42:31 -06:00
twangboy
7a9278b825
Fix broken tests, add new tests
2018-09-28 14:59:27 -06:00
Daniel A. Wozniak
7ce1b645c0
Use utf-8 encoding for salt-runtests.log
2018-09-28 13:08:37 -07:00
Brett Benassi
f6d967931c
Updating syntax to be better and with new lines
2018-09-28 13:31:58 -06:00
Brett Benassi
855ffe60fc
Adding timeout to all pipelines so that the build aborts
2018-09-28 12:10:55 -06:00
Erik Johnson
8a9945efd2
Update test docstring to reflect switch to using SHA1
2018-09-28 10:05:18 -05:00
Erik Johnson
7ddfd720ed
Switch from base64 encoding to sha1 digest for unique cache filename
2018-09-28 09:39:56 -05:00
Erik Johnson
0e26dc6f70
Explicitly import salt.utils.hashutils
...
The code works without this because at least one of the other modules
being imported also imports this. But explicitly importing it here will
keep us from getting bitten if the imports change elsewhere later on.
2018-09-27 12:48:32 -05:00
Erik Johnson
dca90d7bde
Skip parallel states test on Windows until we can get it to work
2018-09-27 12:16:43 -05:00
Erik Johnson
5a110677b9
Add additional info to the assert to aid in troubleshooting
2018-09-26 14:50:35 -05:00
Erik Johnson
cb19086020
Remove/replace unnecessary setUp/tearDown
...
The setUp only needs to run at the beginning so it can be a setUpClass,
and the tearDown logic only applied to a single test and should not be
run after each test.
2018-09-26 14:50:35 -05:00
Erik Johnson
b3e9678fd9
Fix parallel states with long ID dec or name
...
The cache files used for these are based on the state's tag, so longer
ID decs or names will cause errors when the filename's length exceeds
the max allowed by the kernel.
This fixes these errors by taking (up to) the first 32 chars of the
result of base64-encoding the tag, and using that as the parallel cache
filename.
2018-09-26 14:50:35 -05:00
Nicole Thomas
2cd1509fdb
Merge branch '2017.7' into fix_49730
2018-09-26 14:17:35 -04:00
Daniel Wallace
d2a193b791
Merge pull request #49792 from KaiSforza/fixscriptedpipes
...
Fix the new pipelines
2018-09-26 13:15:32 -05:00
William Giokas
5b16996e20
Fix the new pipelines
2018-09-26 12:12:33 -06:00
Nicole Thomas
defba1c715
Merge branch '2017.7' into fix_49730
2018-09-26 09:25:47 -04:00
twangboy
af1ed1c4e3
Add/fix tests
...
Use named parameters where possible
2018-09-25 16:48:16 -06:00
twangboy
5005a4df2f
Only clear dns entries if you pass []
...
Add test=True support when clearing
2018-09-25 15:46:27 -06:00
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
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