From d5b301c5f59da9b16576ed3cf4de7c1486cd45c4 Mon Sep 17 00:00:00 2001 From: Lee Clemens Date: Thu, 21 Dec 2023 19:47:21 -0500 Subject: [PATCH] Return DNS plugin not supported error --- salt/modules/acme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/acme.py b/salt/modules/acme.py index af87f48bf277..0c8ab98f12e9 100644 --- a/salt/modules/acme.py +++ b/salt/modules/acme.py @@ -212,7 +212,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}")