diff options
Diffstat (limited to 'manifests/renew.pp')
-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, } - } - |