Commit graph

1933 commits

Author SHA1 Message Date
Megan Wilhite
b2a6715901 Fixes salt-ssh authentication when using tty 2020-11-14 02:24:37 -07:00
Alexander Weidinger
ea409f0723 Fix: compare bytes when comparing certificates (fixes #56556) 2020-11-12 20:29:36 -07:00
Gareth J. Greenaway
d979393027 Adding changelog. 2020-11-12 15:57:36 -07:00
Megan Wilhite
7f548281bb add changelog 2020-11-12 13:38:27 -07:00
Megan Wilhite
11e2550d7e Revert "Ensure file_tree pillar returns unicode"
This reverts commit 99e4e75c33.
2020-11-12 13:38:27 -07:00
Gareth J. Greenaway
df0859da74 Revert "[Fix] Correctly pass subset parameter to cmd_subset (#58601)"
This reverts commit 3dc25dc4ca.
2020-11-12 13:22:51 -07:00
Jarrod Funnell
3dc25dc4ca
[Fix] Correctly pass subset parameter to cmd_subset (#58601)
* Fix subset parameter

* Support legacy parameter for now

* Add tests+changelog for cmd_subset fix

* Prevent passing 'sub' to cmd_cli
2020-11-12 09:06:16 -08:00
Megan Wilhite
0cd95615a9 add changelog 2020-11-10 13:38:58 -07:00
Megan Wilhite
6826255ab5 Ensure file_tree pillar returns unicode 2020-11-10 13:28:13 -07:00
Daniel Wozniak
3e269eda82 Fix typo in changelog/58861.fixed
Co-authored-by: Megan Wilhite <megan.wilhite@gmail.com>
2020-11-09 14:57:48 -07:00
Gareth J. Greenaway
13b4de945e Adding changelog. 2020-11-09 14:57:48 -07:00
Ken Crowell
89f13a934c Fix use of unauthd cached vmware service instance 2020-11-09 14:24:33 -07:00
Daniel A. Wozniak
ad4ebdcdf4 Add changelog entry for 58904 2020-11-09 13:52:41 -07:00
twangboy
8b6ad32ec3 Add changelog 2020-11-08 18:45:11 -07:00
Megan Wilhite
c6cf4848c5 add changelog 2020-11-08 18:37:06 -07:00
piterpunk
ae0606fa21 Added changelog entry 2020-11-08 18:29:24 -07:00
Gareth J. Greenaway
5104d098e8 Adding changelog. 2020-11-05 16:40:53 -07:00
Gareth J. Greenaway
ee8295289b Update 58753.fixed 2020-11-05 16:38:13 -07:00
Gareth J. Greenaway
110a5e5efb Adding changelog. 2020-11-05 16:38:13 -07:00
Megan Wilhite
2e66002894 ssh_pre_flight: fail on retcode not stderr 2020-11-05 16:31:32 -07:00
Frode Gundersen
998c382f5f ChangelogUpdate 2020-10-19 17:00:45 -07:00
Pedro Algarvio
11a698c5ac Fix mispacled and wrongly named changelog entries 2020-10-19 16:21:55 +01:00
Pedro Algarvio
4a6a3c26b3 Move changelog entries to the correct location 2020-10-19 16:21:55 +01:00
twangboy
e245f37fad Fix changelog, put it in the right directory 2020-10-13 13:50:53 -07:00
Frode Gundersen
f523c5879f Update Changelog 3002 2020-10-08 14:48:33 -07:00
Gareth J. Greenaway
6e32b59651 Adding changelog. 2020-10-08 07:22:41 -07:00
mlasevich
c35b43d9f0
Cleanup calculation of template sls/tpl context (#58238)
* Cleanup calculation of template sls/tpl context

Fixes #56410

* fix string formatting

* Add unit test that works against old version (with bugs)

* Updated unit tests with non-buggy values and fix found bugs

* cleanup unit tests to test underlying function

* remove old unit test components no longer used

* Cleanup

* More Cleanup

* More cleanup. Add Mock to test.support.unit

* Add changelog entries

* Fix Mockery

* Import order fix

* Handle backslashes in sls names under *nix

* Cleanup

* Make sure we return a dictionary from jinja.load_map

* Fix scenario when sls is empty but present

* Touched another file - Cleanup to make pre-commit happy

* Adding variables to docs

* Fix expected tplpath value to be OS specific and note so in docs

* removing comments from imports as per pre-commit

* removing comments from imports as per pre-commit

* Put slsvars changes behind a feature flag

* Better documentation for enable_slsvars_fixes feature flag

* Fix test that should be skipped on windows

Co-authored-by: Michael "M3" Lasevich <Michael.Lasevich@bhnetwork.com>
Co-authored-by: Sage the Rage <36676171+sagetherage@users.noreply.github.com>
Co-authored-by: Daniel A. Wozniak <dwozniak@saltstack.com>
Co-authored-by: Shane Lee <slee@saltstack.com>
2020-10-08 07:18:08 -07:00
Ken Crowell
3ec3303a07 Make gpg.encrypt examples work 2020-10-07 16:14:39 -07:00
twangboy
e1d482f888 Add changelog 2020-10-07 16:07:50 -07:00
Ali Rizvi-Santiago
2ac0dc67e8 Added changelog entry for issue #54882. 2020-10-07 13:38:05 -07:00
Tyler Johnson
f909cb5aaa States can have sub state returns 2020-10-07 13:23:32 -07:00
cmcmarrow
d32992c7a0 dep jid add log and test 2020-10-05 15:47:42 -07:00
Megan Wilhite
facc1ef92a Add changelog 2020-10-05 15:46:52 -07:00
piterpunk
d45a001cad Added changelog entry for fix 57520 2020-10-05 15:46:02 -07:00
Ali Rizvi-Santiago
e1d4d18454 Added changelog mentioning the fix for issue saltstack/salt#57790. 2020-10-05 15:44:47 -07:00
TGuimbert
1094caf7af Add changelog 2020-10-05 15:41:17 -07:00
Dmitry Kuzmenko
37dc205f82
Fix for zipped custom modules (#57759)
* Put '.zip' to suffix_order list as well as to suffix_map.

* Update test

* Added changelog.

* Handle .pyx modules as well + test

* Test fix: guard pyximport assertions

* Ran pre-commit hook
2020-10-05 15:40:46 -07:00
Wayne Werner
df725c4fb4 Add changelog 2020-10-05 15:38:01 -07:00
Michael Birtwell
387b82784e Fix show error report from salt.function
When no minions matched the default "No change made .." error was show
rather than the No minions responded error.
2020-10-05 15:36:17 -07:00
Justin Findlay
1ef93526ea utils.jinja Add profile block and profiling of import_* jinja calls
For some of the more complex salt code--or when salt functions lack
timing stats themselves--it's desirable to be able to do thus:
```sls
{%- profile as 'inner test' %}
< jinja-code >
{%- endprofile %}
```
And get a log line like thus:
```
2019-08-05 22:10:59,531 [salt.utils.jinja ][PROFILE ][26803] Time (in seconds) to render profile block 'inner test': 5.96046447754e-06
```

This commit adds a new `profile` block tag that emits these log
statements.

The same machinery used to support the `profile` block tag is also wired
into `import_*` blocks.  For example:
```sls
{%- import grains.sls as 'blah' %}
```
results in the following log statement:
```
2019-08-05 22:10:59,542 [salt.utils.jinja ][PROFILE ][26803] Time (in seconds) to render import_yaml 'grains.sls': 0.0106961727142
```
2020-10-04 19:08:23 -07:00
Lukas Raska
a2f0296b35 Fix win_pdh.get_counters failing when no data are available 2020-10-04 19:01:26 -07:00
Justin Findlay
d4e2a00bd2 58033 file.read return binary data in binary mode 2020-10-04 19:00:54 -07:00
Erik Johnson
add5205ea6 Add changelog entry 2020-10-04 18:59:36 -07:00
Gareth J. Greenaway
7516406d97 Adding changelog. 2020-10-02 03:00:36 -07:00
Gareth J. Greenaway
ba4ae77d33
[master] Ensure proxy_config reads proxy specific configuration (#58307)
* Make proxy_config read in the proxy specific configuration which is typically found in /etc/salt/proxy.d/minionid/.

* Adding changelog.

* Fixed auto py3 update hook result

* Only lay down the required config for tests using it

* Running pre-commit bits manually.

Co-authored-by: Dmitry Kuzmenko <dmitry.kuzmenko@dsr-corporation.com>
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2020-10-02 03:00:01 -07:00
Gareth J. Greenaway
5ebd240ac9 Adding changelog file 2020-10-02 02:48:30 -07:00
Gareth J. Greenaway
062739a0b6
Fix when multiple sources include HTTP and are missing (#58441)
* Adding a check when a source is an HTTP or FTP URL to do a query to ensure the URL is valid before returning, then we know if we need to move onto to the next source in the list or not.  Adding tests.

* Adding changelog.

* Removing change from another PR.

* Fixing tests to be cross platform.
2020-10-01 16:24:16 -07:00
twangboy
525df41262 Add changelog 2020-10-01 10:14:58 -07:00
twangboy
82bf19c42a Add changelog 2020-10-01 10:13:59 -07:00
Gareth J. Greenaway
e229cfcd55 Adding changelog. 2020-10-01 09:36:45 -07:00