diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-01-07 13:00:34 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-01-07 13:00:34 +0100 |
commit | 29bd0bfdbc60cc8ade477f306f114af734cf7aba (patch) | |
tree | ceaa092216b7eaaf9126a93af40e430dfbd70d85 /manifests/renew.pp | |
parent | Update fact to match pdk linter. (diff) | |
download | hugonikanor-letsencrypt-29bd0bfdbc60cc8ade477f306f114af734cf7aba.tar.gz hugonikanor-letsencrypt-29bd0bfdbc60cc8ade477f306f114af734cf7aba.tar.xz |
Major cleanup.
Diffstat (limited to '')
-rw-r--r-- | manifests/renew.pp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/renew.pp b/manifests/renew.pp index 681a236..97cf5e9 100644 --- a/manifests/renew.pp +++ b/manifests/renew.pp @@ -1,13 +1,15 @@ +# @summary Configures automatic renewal for the given certificate +# @param cert_name +# which certificate to renew. A letsencrypt::cert of the same name +# must exists. +# @api private define letsencrypt::renew ( String $cert_name = $name, ) { - # TODO this is systemd specific # TODO ensure letsencrypt::renew::setup is included beforehand service { "${letsencrypt::renew::systemd::service_name}@${cert_name}.timer": ensure => 'running', enable => true, } - } - |