summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/x509/cert_key.pp
blob: d55c6cf208047336ad466c30fd65a2db18bce1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class site_config::x509::cert_key {

  $x509      = hiera('x509')
  $key       = $x509['key']
  $cert      = $x509['cert']

  x509::key { $site_config::params::cert_name:
    content => $key
  }

  x509::cert { $site_config::params::cert_name:
    content => $cert
  }

}