summaryrefslogtreecommitdiff
path: root/puppet/modules/site_stunnel/manifests/setup.pp
blob: 2309800b9ef6e6e741b55951d78c0b5123679a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define site_stunnel::setup ($cert_name, $key, $cert, $ca_name, $ca) {

  include site_stunnel

  x509::key {
    $cert_name:
      content => $key,
      notify  => Service['stunnel'];
  }

  x509::cert {
    $cert_name:
      content => $cert,
      notify  => Service['stunnel'];
  }

}