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.pp12
1 files changed, 12 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..7e5a36b9
--- /dev/null
+++ b/puppet/modules/site_config/manifests/x509/cert.pp
@@ -0,0 +1,12 @@
+class site_config::x509::cert {
+
+ include ::site_config::params
+
+ $x509 = hiera('x509')
+ $cert = $x509['cert']
+
+ x509::cert { $site_config::params::cert_name:
+ content => $cert
+ }
+
+}