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

  ##
  ## This is for the special CA that is used exclusively for generating
  ## client certificates by the webapp.
  ##

  include ::site_config::params

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

  x509::ca { $site_config::params::client_ca_name:
    content => $cert
  }
}