summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/x509/commercial/key.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config/manifests/x509/commercial/key.pp')
-rw-r--r--puppet/modules/site_config/manifests/x509/commercial/key.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/x509/commercial/key.pp b/puppet/modules/site_config/manifests/x509/commercial/key.pp
new file mode 100644
index 00000000..2be439fd
--- /dev/null
+++ b/puppet/modules/site_config/manifests/x509/commercial/key.pp
@@ -0,0 +1,11 @@
+class site_config::x509::commercial::key {
+
+ include ::site_config::params
+
+ $x509 = hiera('x509')
+ $key = $x509['commercial_key']
+
+ x509::key { $site_config::params::commercial_cert_name:
+ content => $key
+ }
+}