Skip to content
Snippets Groups Projects
Unverified Commit d90defb1 authored by Max Adamo's avatar Max Adamo
Browse files

simplify client assignment logic in coyote script

parent bc4943e3
Branches
No related tags found
No related merge requests found
......@@ -141,10 +141,7 @@ if __name__ == "__main__":
# client array elements are the folders where we upload the certificates
# client is used only with Puppet
# if we use tld we use 'common' as client
if ARGS["--client"]:
CLIENTS = ARGS["--client"]
if ARGS["--tld"]:
CLIENTS = ["common"]
CLIENTS = ARGS["--client"] if ARGS["--client"] else ["common"]
# ensure that we need to run certbot
cert_path = os.path.join("/etc", PROVIDER, "live", FIRST_NAME, "fullchain.pem")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment