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

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

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

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