Commit graph

11 commits

Author SHA1 Message Date
Pedro Algarvio
dc131a9369 Address Bandit's B602(subprocess_popen_with_shell_equals_true) on the test suite 2021-03-03 06:21:53 -05:00
Pedro Algarvio
130b1c77df Drop Py2 and six on tests/integration/utils/test_smb.py 2021-03-01 10:42:23 +00:00
Gareth J. Greenaway
005aa62a8b Adding tests for ipv6 releated smb changes. 2020-07-29 11:16:05 -07:00
Wayne Werner
ee181c97a5
Sodium deprecations (#57370)
* Drop deprecated mac_brew_pkg namespace fixup

Closes #57361

* Note deprecation in release notes

* Remove deprecated napalm_network features

Closes #57362

These arguments are no longer useful, since we no longer support using
NAPALM native templates.

* Remove selinux.fcontext_add_or_delete_policy

It was deprecated and slated for removal in Sodium. Closes #57363

* Remove deprecated refresh_db param

Closes #57366

Parameter has been renamed to `refresh`

* Remove deprecated sdecode functions

Closes #57367

sdecode and sdecode_if_string functionalities have both been moved to
decode.

* Remove assorted deprecated features

Closes #57368

- removed obsolete .destroy methods from zeromq channels
- removed winexe support from salt.utils.cloud
- removed obsolete override_name from
  salt.utils.context.NamespacedDictWrapper
- removed obsolete `show_ipv4` parameter from salt.utils.minions
- removed impacket support from salt.utils.smb
- removed obsolete salt.transport.Channel, and fixed test.

* Change module.run deprecation version

* Remove deprecated destroy test

* Remove deprecation from skip

* Re-add keystone docs

* Blacken merge conflict

Co-authored-by: Daniel Wozniak <dwozniak@saltstack.com>
2020-05-21 19:46:14 -07:00
Pedro Algarvio
c931633618 Correct the logic 2020-05-21 03:09:14 -07:00
Pedro Algarvio
817235c7fd Skip tests if impacket or smbprotocol is not installed 2020-04-28 10:35:36 -07:00
Blacken Salt
0b2a5613b3
Blacken salt 2020-04-03 13:05:41 -05:00
Rares POP
569fe2a05a
Fix log.warn to log.warning
log.warn got deprecated and this commit addresses the few places
where was still in use

Signed-off-by: Rares POP <rares.pop@ni.com>
2018-07-03 14:52:43 +03:00
Daniel A. Wozniak
69c5e224c2
More linter errors 2018-04-29 12:11:40 -07:00
Daniel A. Wozniak
f990a65ea6
Fix linter issues 2018-04-29 01:43:54 -07:00
Daniel A. Wozniak
86e25cf4f1
Add support for pypsexec and smbprotocol
- Removes the need for winexe which is not packaged for all platforms we
  support. The replacement, pypsexec, is pure python so it will work
  everywhere.
- Add support for smbprotocol to be used instead of impacket.
  smbprotocol supports python 3 and is also used by pypsexec.
2018-04-29 00:36:27 -07:00