Apply IP-specific certbot command to cache instead
This commit is contained in:
parent
6f2dd2df0f
commit
e5a23593bf
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class cdn::cache(
|
|||
$environment = $dash_split[2]
|
||||
|
||||
# Get client cert for connecting to MQTT bus
|
||||
exec { "certbot certonly -n --email patlu@sunet.se --no-eff-email --agree-tos --standalone -d ${my_fqdn} --server ${acme_url[$environment]}":
|
||||
exec { "certbot certonly -n --email patlu@sunet.se --no-eff-email --agree-tos --standalone -d ${my_fqdn} --server ${acme_url[$environment]} --http-01-address ${facts['networking']['ip']}":
|
||||
creates => "/etc/letsencrypt/live/${my_fqdn}/fullchain.pem"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue