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
@@ -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,
+       }
+}