We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53ed8a9 + 37eac9e commit 7026502Copy full SHA for 7026502
manifests/certonly.pp
@@ -107,8 +107,10 @@
107
}
108
109
$command = "${command_start}${command_domains}${command_end}"
110
- $live_path_domain = regsubst($domains[0], '^\*\.', '')
111
- $live_path = "${config_dir}/live/${live_path_domain}/cert.pem"
+
+ # certbot uses --cert-name to generate the file path
112
+ $live_path_certname = regsubst($title, '^\*\.', '')
113
+ $live_path = "${config_dir}/live/${live_path_certname}/cert.pem"
114
115
$execution_environment = [ "VENV_PATH=${letsencrypt::venv_path}", ] + $environment
116
$verify_domains = join(unique($domains), ' ')
0 commit comments