mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Return DNS plugin not supported error
This commit is contained in:
parent
343b76474b
commit
2248414917
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def cert(
|
|||
cmd.append("--authenticator webroot")
|
||||
if webroot is not True:
|
||||
cmd.append(f"--webroot-path {webroot}")
|
||||
elif dns_plugin in supported_dns_plugins:
|
||||
elif dns_plugin:
|
||||
if dns_plugin == "cloudflare":
|
||||
cmd.append("--dns-cloudflare")
|
||||
cmd.append(f"--dns-cloudflare-credentials {dns_plugin_credentials}")
|
||||
|
|
Loading…
Add table
Reference in a new issue