1 2 3 4 5 6 7 8 9
class site_config::x509::ca { $x509 = hiera('x509') $ca = $x509['ca_cert'] x509::ca { $site_config::params::ca_name: content => $ca } }