diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-19 01:06:00 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-19 01:06:00 +0200 |
commit | 540e2a2739a987be0aef3be2d49387d61799c58c (patch) | |
tree | 88ad447fe26f87a3f8a9761df99c6a1d6e9aedaa /manifests/init.pp | |
parent | Bump to 0.3.0. (diff) | |
download | hugonikanor-letsencrypt-540e2a2739a987be0aef3be2d49387d61799c58c.tar.gz hugonikanor-letsencrypt-540e2a2739a987be0aef3be2d49387d61799c58c.tar.xz |
Support FreeBSD and periodic.
Diffstat (limited to '')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d6fb5f6..9ac1b0a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -12,6 +12,8 @@ # Default configuration values to pass to certbot. $server and # $email is added here if not explicitly set. It's later merged with # a specific instance for each certificate. +# @param config_dir +# Storage location form letsencrypt files. class letsencrypt ( String $email, Letsencrypt::Renewal_provider $renewal_provider, # hiera @@ -19,6 +21,7 @@ class letsencrypt ( Boolean $manage_package = true, String $server = 'https://acme-v02.api.letsencrypt.org/directory', Hash[String, Any] $config = {}, + String $config_dir = '/etc/letsencrypt' ) { # if $default_cert { # letsencrypt::cert { $default_cert_name: @@ -30,7 +33,6 @@ class letsencrypt ( # not accept them in other places. This might prove wrong (BSD?), in # that case: make them parameters again, and resolve the few remaining # instances where they are hard coded. - $config_dir = '/etc/letsencrypt' $cert_dir = "${config_dir}/live" # Used by letsencrypt::cert |