X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=15a2a341c86eb5bfe3f1164e94ee69c6ba974a34;hb=e79ac6dac609ecc7accfcd7a8596d1b2d915e0c8;hp=ac46632b0fe521fd12527d5618200a340a761251;hpb=7106f210104a71dd01887ad31e19eec18c512319;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index ac46632b0..15a2a341c 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -139,7 +139,7 @@ class apache2 { script => 'ps_', } - if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] { + if $::hostname in [beach,buxtehude,picconi,pkgmirror-csail] { include apache2::dynamic } else { @ferm::rule { 'dsa-http': @@ -162,4 +162,9 @@ class apache2 { refreshonly => true, require => Package['apache2'], } + + apache2::config { 'puppet-ssl-key-pins': + content => template('apache2/ssl-key-pins.erb'), + notify => Exec['service apache2 reload'], + } }