X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=1775bb2946d72aab0fda5a546d6997f45cdc8244;hb=10b48b1a0f7c8906cbfeb7f77adb0c3ddd25bd98;hp=d90532d81b2789688b70687ec485fb5c44a75584;hpb=69f2e9fa33a96df43f1f5b83f6bca436b0666d31;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index d90532d81..1775bb294 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -136,9 +136,25 @@ class apache2 { command => "/etc/init.d/apache2 force-reload", refreshonly => true; } + case $hostname { + chopin,franck,morricone: { + package { + "libapache2-mod-macro": ensure => installed; + } + enable_module { + "macro":; + } + file { + "/etc/apache2/conf.d/puppet-builddlist": + content => template("apache2/conf-builddlist.erb"), + require => Package["apache2"], + notify => Exec["reload-apache2"]; + } + } + } case $hostname { - busoni,byrd,duarte,holter,lindberg,master,merkel,powell,rore: { + busoni,duarte,holter,lindberg,master,merkel,powell,rore: { @ferm::rule { "dsa-http-limit": prio => "20", description => "limit HTTP DOS",