mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Check for disabled instead of auto
This commit is contained in:
parent
327664a375
commit
2ff4fada37
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ def __virtual__():
|
|||
"be disabled",
|
||||
)
|
||||
|
||||
if not salt.utils.win_service.info("CryptSvc")["StartType"] == "Auto":
|
||||
if salt.utils.win_service.info("CryptSvc")["StartType"] == "Disabled":
|
||||
return (
|
||||
False,
|
||||
"WUA: The Cryptographic Services service (CryptSvc) must not be disabled",
|
||||
|
|
Loading…
Add table
Reference in a new issue