aboutsummaryrefslogtreecommitdiff
path: root/manifests/renew/systemd.pp
blob: 4b6f23ea4991b138b305b36d5ad54d1a1b7f84e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Handles renewal certificates through systemd timers
# private
class letsencrypt::renew::systemd (
  String $service_name = 'letsencrypt-renew'
  String $service_path = '/etc/systemd/system',
) {


  file { "${service_path}/${service_name}@.service":
    source => "puppet:///modules/${module_name}/letsencrypt-renew.service",
  }

  file { "${service_path}/${service_name}@.timer":
    source => "puppet:///modules/${module_name}/letsencrypt-renew.timer",
  }
}