Skip to content

Commit

Permalink
fix(module): cert-path to cert-home
Browse files Browse the repository at this point in the history
  • Loading branch information
genaumann committed Jan 15, 2024
1 parent aba0704 commit 5bb2331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _modules/acme_sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def list(
cmd = [acme_bin, "--list"]

if cert_path:
cmd.extend["--cert-path", cert_path]
cmd.extend["--cert-home", cert_path]

list_crt = __salt__["cmd.run_all"](" ".join(cmd), python_shell=False, runas=user)

Expand Down Expand Up @@ -440,7 +440,7 @@ def renew(
cmd = [acme_bin, "--renew", "--domain", name]

if cert_path:
cmd.extend(["--cert-path", cert_path])
cmd.extend(["--cert-home", cert_path])
else:
cert_path = f"{home_dir}/.acme.sh"

Expand Down

0 comments on commit 5bb2331

Please sign in to comment.