summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/x509/cert.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config/manifests/x509/cert.pp')
-rw-r--r--puppet/modules/site_config/manifests/x509/cert.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/x509/cert.pp b/puppet/modules/site_config/manifests/x509/cert.pp
new file mode 100644
index 00000000..7ed42959
--- /dev/null
+++ b/puppet/modules/site_config/manifests/x509/cert.pp
@@ -0,0 +1,10 @@
+class site_config::x509::cert {
+
+ $x509 = hiera('x509')
+ $cert = $x509['cert']
+
+ x509::cert { $site_config::params::cert_name:
+ content => $cert
+ }
+
+}