Commit graph

117909 commits

Author SHA1 Message Date
Thomas Phipps
31428b617d not sure why i included that r only needed w+ anyway 2023-06-26 19:39:38 +00:00
Thomas Phipps
1d85229886 fix #58667 by checking for blank comps in both source and request 2023-06-26 19:39:38 +00:00
Thomas Phipps
6f5b4e4e54 fix 3006.x nightly, this test should have already been testing for exitcode 1 not 0. as the is_leader throws an exception internal to it. 2023-06-26 19:33:21 +00:00
Megan Wilhite
617f9e92de Fix user unit test 2023-06-26 17:01:31 +00:00
Megan Wilhite
848b9dcfdd Fix user.present state when group is unset 2023-06-26 17:01:31 +00:00
twangboy
5dc987a630 Add changelog 2023-06-26 13:40:39 +00:00
twangboy
6ae0c5ad6c Add test 2023-06-26 13:40:39 +00:00
twangboy
38bae082f4 Fix issue when there are duplicate packages 2023-06-26 13:40:39 +00:00
Tanmoy037
eb5473596a Structured Layered State name added insted of SaLt State file 2023-06-26 13:38:20 +00:00
James Howe
8950f1198b Missed an "and". 2023-06-23 15:13:12 -07:00
James Howe
2215d92ab0 Fix incorrect usage of "finite" wrt ordering 2023-06-23 12:56:29 -07:00
Thomas Phipps
dedade07d7 fix nightlys by mimicing what cli.run does to runner.run output in run_run_plus 2023-06-23 12:39:29 -07:00
MKLeb
2f5c44a45e Fixes for the handle_ssh return values now being lists of tuples 2023-06-22 11:48:39 -07:00
Charles McMarrow
b5b1a9794b
add back proxy_napalm_wrap 2023-06-22 13:06:52 -05:00
Thomas Phipps
79b5eeec96 Update changelog/61173.fixed.md
remove fix

Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-06-22 12:42:42 +00:00
Thomas Phipps
c608df741b fix slow_kill test by checking if return but no retcode in ret 2023-06-22 12:42:42 +00:00
Thomas Phipps
b662bbeb69 no full_return for eauth 2023-06-22 12:42:42 +00:00
Thomas Phipps
e9b1b14b97 try fixing broken eauth test 2023-06-22 12:42:42 +00:00
Thomas Phipps
48ba8089e1 fix full_return=False to follow flow of function, instead of force to False 2023-06-22 12:42:42 +00:00
Thomas Phipps
0078f83664 add secondary tests for salt-run. they were not requested by ticket but should be tested to make sure they do not break 2023-06-22 12:42:42 +00:00
Thomas Phipps
c1292aecbf add code to pass full_return through stack so exceptions can return retcode properly to salt-run cli 2023-06-22 12:42:42 +00:00
MKLeb
a7d7c4151b Lock to immutables>0.16, as that version has problems installing now 2023-06-21 15:39:42 -07:00
jeanluc
9f70585e34 run pre-commit upgrade code for Py3.8+ 2023-06-21 19:57:10 +00:00
jeanluc
a86675d413 Add misc tests for retcode passthrough 2023-06-21 19:57:10 +00:00
jeanluc
b58190a56e Fix salt-ssh state.* commands retcode for render fail 2023-06-21 19:57:10 +00:00
jeanluc
eabc42cce7 Add tests for salt-ssh state.* exitcodes 2023-06-21 19:57:10 +00:00
Charles McMarrow
d12e128981
Merge branch 'master' into remove_conn_func_from_napalm 2023-06-21 10:56:57 -05:00
Charles McMarrow
b0bf7eba9b
[master]gpg_decrypt_must_succeed default from False to True (#64471)
* pg_decrypt_must_succeed default from False to True

* Fix pre-commit
2023-06-21 10:56:32 -05:00
Charles McMarrow
7b8c3dbacc
Update napalm_mod.py 2023-06-20 16:15:20 -05:00
Charles McMarrow
1a4a4824ff
Merge branch 'master' into remove_conn_func_from_napalm 2023-06-20 15:51:49 -05:00
Charles McMarrow
ddb9c20ec8
fix pre-commit 2023-06-20 15:50:53 -05:00
twangboy
e7832f772d Add suggested docs fixes 2023-06-20 19:41:59 +00:00
twangboy
f036af2953 Quote spaces in the script path 2023-06-20 19:41:59 +00:00
twangboy
d516d17840 Quote path to salt-bin 2023-06-20 19:41:59 +00:00
twangboy
901708cf09 Add tests for multi-minion script 2023-06-20 19:41:59 +00:00
twangboy
a404f9ec1a Fix spelling issues 2023-06-20 19:41:59 +00:00
twangboy
71a8f79313 Add changelog 2023-06-20 19:41:59 +00:00
twangboy
b0d14780fa Add docs, don't run as service 2023-06-20 19:41:59 +00:00
twangboy
7a802fbb6e Add scripts to installer, clean msi files 2023-06-20 19:41:59 +00:00
Twangboy
2f07a4e3af Fix name of cmd script from master to minion 2023-06-20 19:41:59 +00:00
Twangboy
c016b46029 Remove BOM to fix pre-commit 2023-06-20 19:41:59 +00:00
Twangboy
97e6ff7a1a Add scripts for setting up multi-minion on Windows 2023-06-20 19:41:59 +00:00
Pedro Algarvio
4f027308f8 Run pyupgrade on the changes from the merge forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-20 03:34:21 +01:00
Pedro Algarvio
5e28d77365 Improved slack notifications
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-20 03:34:21 +01:00
nicholasmhughes
77482013d6 fixes saltstack/salt#64477 file.symlink will not replace/update existing symlink 2023-06-20 03:34:21 +01:00
Pedro Algarvio
ae14412da3 Don't hardcode the python version on pkg/debian/salt-cloud.postinst
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
c6e2bd18e9 Don't hardcode the python version in the test.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
a1861c7871 Added changelog entry and updated release notes
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
d2f1990135 Generate 3.11 requirements for the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
14282d69f6 Use proper keys since Python's base64 in Py3.11 is more picky
```
❯ artifacts/salt/bin/python3
Python 3.10.11 (main, May  5 2023, 02:31:54) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>> base64.b64decode("AAAAB3NzaC1kcQ9J5bYTEyZ==", validate=True)
b'\x00\x00\x00\x07ssh-dq\x0fI\xe5\xb6\x13\x13&'
```
```
$ artifacts/salt/bin/python3
Python 3.11.3 (main, May  5 2023, 02:31:40) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>> base64.b64decode("AAAAB3NzaC1kcQ9J5bYTEyZ==", validate=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/testing/artifacts/salt/lib/python3.11/base64.py", line 88, in b64decode
    return binascii.a2b_base64(s, strict_mode=validate)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
binascii.Error: Excess data after padding
```

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00