Commit graph

1569 commits

Author SHA1 Message Date
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
Proskurin Kirill
3f410d966e Fixed salt.runner test mode output 2020-09-30 15:53:36 -07:00
Gareth J. Greenaway
8d5c8f2caa Adding changelog. 2020-09-30 14:07:23 -07:00
twangboy
18733472f3 Add changelog 2020-09-30 13:57:04 -07:00
Wesley Whetstone
2cf321c7f8
Fix mac_service failures on Big Sur. (#58144)
* add in a ValueError catch for BigSur services, also removes py2 code

* pylint fix

* full pyupgrade

* pylint improvements

* add changelog

* remove import comments

* remove comments in test

Co-authored-by: Gareth J. Greenaway <gareth@wiked.org>
Co-authored-by: Sage the Rage <36676171+sagetherage@users.noreply.github.com>
2020-09-30 13:56:16 -07:00
Wesley Whetstone
a8a7eec011
Improve macOS service naming support (#57646)
* add in a check so if someone passes in a service name like salt-master the module converts over to the macOS naming convention of com.saltstack.salt.master

* add note to documentation

* blacken mac_service

* add changelog for fixing 57878

* remove comments in test

Co-authored-by: Gareth J. Greenaway <gareth@wiked.org>
Co-authored-by: Sage the Rage <36676171+sagetherage@users.noreply.github.com>
2020-09-30 13:54:49 -07:00
Ken Crowell
0584d1df95 Remove old documented pending reboot key 2020-09-30 13:33:58 -07:00
sammy
e80835f32a [55949] Fix changelog naming 2020-09-30 13:33:24 -07:00
sammy
417b3ac43c [55949] Add changelog 2020-09-30 13:33:24 -07:00
ch3ll
af7000f9dd Do not allow python2 to be added to salt-ssh tar 2020-09-30 13:32:50 -07:00
Lukas Raska
348e930dff Fix UnboundLocalError when address cannot be resolved in win_network.connect 2020-09-30 13:26:02 -07:00
Christian McHugh
7836b07409 add changelog 2020-09-30 13:25:06 -07:00
piterpunk
7e0448d3ae Change get_repo in yumpkg.py to expect repo param
- The first positional parameter of get_repo was changed
  from "name" to "repo".
- aptpkg, zypperpkg, opkg, already use "repo" as the first
  parameter
- Fixes #57778
2020-09-30 13:24:00 -07:00
Shea Craig
5b5a2f4ab0 Add changelog entry. 2020-09-30 09:38:14 -07:00
cmcmarrow
300aefbc0c add log 2020-09-30 09:37:18 -07:00