Commit graph

113421 commits

Author SHA1 Message Date
Pedro Algarvio
d50d3e38de A more legal approach
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-04-06 15:35:31 -04:00
Pedro Algarvio
2f6844f621 A few additional replacements for `SaltStack, Inc` 2022-04-06 15:35:31 -04:00
Pedro Algarvio
3d72ba1800 Set copyright on the LICENSE file
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-04-06 15:35:31 -04:00
Thomas Phipps
062637a17e
yaml modules for working towards troubleshooting easement (#61183)
* create a yamllint utils module. as well as a yaml module that will
eventually be yaml tools to help in troubleshooting yaml
functionality.

* included unit tests for the yaml module. also not happy about moving
from __salt__.module.function to __salt__["module.function"] for the
test to work

* added pre_render test and minor correct to heredoc in yamllint

* changelog

* fix tests running in py3.5, also try and fix pre-commit.

* attempt to fix pre-commit

* still trying to fix pre-commit.

* forgot freebsd, added yamllint to freebsd

* update adding versionadded and depends

* fix pre-commit?

* fix pre-commit

* attempt to fix pre-commit again

Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2022-04-06 14:53:21 -04:00
Pedro Algarvio
cbd689f106 Needs to be 3002.7
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-04-06 09:39:29 +01:00
MKLeb
fe93f7e981 pin versions for test_with_versions.py 2022-04-06 09:39:29 +01:00
Megan Wilhite
bb610f761e Fix requested feedback 2022-03-30 15:28:41 -07:00
Megan Wilhite
fb3033f032 Use the correct Markup from jinja for each version 2022-03-30 15:28:41 -07:00
Megan Wilhite
240e165ebc Use the correct Markup from jinja for each version 2022-03-30 15:28:41 -07:00
jonyhy96
90092fa126 fix: jinja2 DeprecationWarning 2022-03-30 15:28:41 -07:00
jonyhy96
2c39d86265 fix: jinja2 contextfuntion base on version 2022-03-30 15:28:41 -07:00
Pedro Algarvio
ac9f139f79 Pin to `click<8.1.0` on the black hooks in the pre-commit-config
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-03-29 09:45:09 -04:00
Pedro Algarvio
096ea64485 Turn entropy generation into a helper
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-03-28 08:49:54 +01:00
Pedro Algarvio
0ffed58e1a A different approach at generating entropy
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-03-28 08:49:54 +01:00
Pedro Algarvio
6cf388ed23 Start a background process to generate entropy.
Some tests have failed because of not enough entropy which then makes
the test timeout.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-03-28 08:49:54 +01:00
Pedro Algarvio
b5912dd349 Don't leave any gpg-agent's running behind
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-03-28 08:49:54 +01:00
Gareth J. Greenaway
b1aaa1e007 Fixing and moving test_beacon to pytest. 2022-03-28 04:59:05 +01:00
Pedro Algarvio
fd216e186a Pin pre-commit requirements
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-03-25 09:41:49 -04:00
Gareth J. Greenaway
1b76119583 Adding changelog. 2022-03-23 15:58:10 -04:00
Gareth J. Greenaway
fe83947a95 Need to mock os.path.exists to get the right data back from the mocked fopen. 2022-03-23 15:58:10 -04:00
Gareth J. Greenaway
7be21ddc57 Clarify the persist argument in the scheduler module. Adding code in the list function to indicate if the schedule job is saved or not. 2022-03-23 15:58:10 -04:00
Gareth J. Greenaway
1f91cb639f fixing test_save on Windows. 2022-03-23 15:26:39 -04:00
Gareth J. Greenaway
2204a60bd3 Adding changelog. 2022-03-23 15:26:39 -04:00
Gareth J. Greenaway
c310ff171a Making tests platform independant. 2022-03-23 15:26:39 -04:00
Gareth J. Greenaway
d33e772eb1 When configured beacons are empty write an empty file. Moving beacon module unit tests to pytest. 2022-03-23 15:26:39 -04:00
Daniel A. Wozniak
207de83b5c Update gpg key 2022-03-23 15:26:15 -04:00
David Murphy
d91ed64f81 Revert fix for issue 54179, which needs more work 2022-03-22 16:42:03 -07:00
Gareth J. Greenaway
7382656c7f Shuffle around the order of the except so we catch the socket.error. Fix typo in the socket.error. Skip test on MacOS since the exception doesn't happen. 2022-03-22 14:33:56 -04:00
Gareth J. Greenaway
163e9fa9d8 If ipv6 is enabled and it fails, try the lookup again using ipv4 just in case the master is a ipv4 address. 2022-03-22 14:33:56 -04:00
MKLeb
d34bbd06fa add changelog 2022-03-22 14:33:25 -04:00
MKLeb
731ca0edbb change comparison and precommit 2022-03-22 14:33:25 -04:00
MKLeb
8c29a2d53c fix defaults.merge/update breaking on NoneTypes 2022-03-22 14:33:25 -04:00
Thomas Phipps
e341339fcf seperate out the tests into its own test 2022-03-22 14:32:56 -04:00
Thomas Phipps
990907d0ec fix #58239 by updaing salt.modules.schedule.build_schedule_item to check job_kwargs and job.args are at least dict and list respectfully. and fail if they are not 2022-03-22 14:32:56 -04:00
Daniel A. Wozniak
e9025fec1b Add test for module.run without any args 2022-03-22 13:24:08 -04:00
Daniel A. Wozniak
c8bf11b492 Update module.run docs and add changelog 2022-03-22 13:24:08 -04:00
Daniel A. Wozniak
1b1da17fcc Detect module run syntax version 2022-03-22 13:24:08 -04:00
MKLeb
fa039f0b3a actually remove the import this time :) 2022-03-21 15:49:12 -04:00
MKLeb
a43f5a9095 remove logging 2022-03-21 15:49:12 -04:00
MKLeb
7ca44773dc attempt to fix failing test 2022-03-21 15:49:12 -04:00
MKLeb
4f8a5f9115 changelog 2022-03-21 15:49:12 -04:00
MKLeb
4827711673 fix events endpoint not halting after token expires 2022-03-21 15:49:12 -04:00
Adam Mendlik
1671aab431 Add change log for issue 61094 2022-03-18 09:28:26 -04:00
Adam Mendlik
17d10f6423 Set virtual grain on EC2 instances 2022-03-18 09:28:26 -04:00
MKLeb
aca06e4003 long line now short line 2022-03-18 09:26:59 -04:00
MKLeb
c329628502 formatting fun 2022-03-18 09:26:59 -04:00
MKLeb
bac8d04e6d lets try that again 2022-03-18 09:26:59 -04:00
MKLeb
87167c8eaf actually define a logger :) 2022-03-18 09:26:59 -04:00
MKLeb
003f8878e2 pre-commit 2022-03-18 09:26:59 -04:00
MKLeb
f4c304ab3f fix flaky ansible state test 2022-03-18 09:26:59 -04:00