mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix x509 virtual func
This commit is contained in:
parent
bdfcb806c6
commit
16a02fc666
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def __virtual__():
|
|||
only load this module if m2crypto is available
|
||||
"""
|
||||
# salt.features appears to not be setup when invoked via peer publishing
|
||||
if not __opts__.get("features").get("x509_v2"):
|
||||
if __opts__.get("features").get("x509_v2"):
|
||||
return (False, "Superseded, using x509_v2")
|
||||
if HAS_M2:
|
||||
salt.utils.versions.warn_until(
|
||||
|
|
Loading…
Add table
Reference in a new issue