X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=dec3162d6d6a3c2873145bd169c42806a77c7ff4;hb=f1965deb432304e45a773ad38b832ce8fd8a7f2b;hp=492823da248edd2fc6316fba32c3c63b7a8008e0;hpb=919f094764925064a0affdf8df08697ae016c4eb;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 492823da2..dec3162d6 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -22,7 +22,11 @@ class apache2 { } apache2::config { 'ressource-limits': - content => template('apache2/ressource-limits.erb'), + ensure => absent, + } + + apache2::config { 'resource-limits': + content => template('apache2/resource-limits.erb'), } apache2::config { 'security': @@ -68,20 +72,7 @@ class apache2 { script => 'ps_', } - if $php5 { - package { 'php5-suhosin': - ensure => installed, - require => Package['apache2'], - } - - file { '/etc/php5/conf.d/suhosin.ini': - source => 'puppet:///modules/apache2/suhosin.ini', - require => Package['php5-suhosin'], - notify => Service['apache2'], - } - } - - if $::hostname in [busoni,holter,lindberg,master,beach,buxtehude,picconi] { + if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] { include apache2::dynamic } else { @ferm::rule { 'dsa-http':