--- /dev/null
+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,
+ }
+}
if has_role('people') {
ssl::service { 'people.debian.org': notify => Exec['service apache2 reload'], key => true, }
onion::service { 'people.debian.org': port => 80, target_address => 'people.debian.org', target_port => 80, direct => true }
+ apache2::pin { 'people.debian.org': }
}
if has_role('security_master') {