projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ship pin set for people.debian.org
[mirror/dsa-puppet.git]
/
modules
/
apache2
/
manifests
/
pin.pp
diff --git a/modules/apache2/manifests/pin.pp
b/modules/apache2/manifests/pin.pp
new file mode 100644
(file)
index 0000000..
020f221
--- /dev/null
+++ b/
modules/apache2/manifests/pin.pp
@@ -0,0
+1,8
@@
+define apache2::pin () {
+ $snippet = gen_hpkp_pin($name)
+
+ concat::fragment { "puppet-ssl-key-pins-header-${name}":
+ target => '/etc/apache2/conf-available/puppet-ssl-key-pins.conf',
+ content => $snippet,
+ }
+}