Revert "Only bind certbot to machine-specific IP"

Incorrectly applied to MQTT class, was supposed to be done for cache servers.

This reverts commit b4261094a7.
This commit is contained in:
Patrik Lundin 2024-11-04 09:30:39 +01:00
parent b4261094a7
commit 6f2dd2df0f
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -50,7 +50,7 @@ class cdn::mqtt(
content => file('cdn/mqtt/sunet-cdn-mqtt'),
}
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']}":
exec { "certbot certonly -n --email patlu@sunet.se --no-eff-email --agree-tos --standalone -d ${my_fqdn} --server ${acme_url[$environment]}":
creates => "/etc/letsencrypt/live/${my_fqdn}/fullchain.pem"
}
}