summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2015-10-20 17:14:21 -0400
committerMicah <micah@leap.se>2015-11-02 10:10:26 -0500
commite97a9d3800b173375a630e18e4b1aa0894eb96e1 (patch)
tree88c343c379462bb28b1380804f815d08b578b219 /puppet/modules/site_config
parent87ddb4d6505229f36b096188c3e43a19281b540c (diff)
Add basic DKIM support, this requires changes in leap_cli detailed in
issue #5924 Change-Id: I6aa1e7751633407d441cbc6436d8426d37dbbfa7
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/manifests/x509/dkim/key.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/x509/dkim/key.pp b/puppet/modules/site_config/manifests/x509/dkim/key.pp
new file mode 100644
index 00000000..c63a7e94
--- /dev/null
+++ b/puppet/modules/site_config/manifests/x509/dkim/key.pp
@@ -0,0 +1,13 @@
+class site_config::x509::dkim::key {
+
+ ##
+ ## This is for the DKIM key that is used exclusively for DKIM
+ ## signing
+
+ $x509 = hiera('x509')
+ $key = $x509['dkim_key']
+
+ x509::key { 'dkim':
+ content => $key
+ }
+}