X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=dec3162d6d6a3c2873145bd169c42806a77c7ff4;hb=d3cb659116b7c5d4ed4b24da4d1f95a2538db8fe;hp=1f232b931f49d18654bd5cfeba0c54eb47e004d3;hpb=1be65923217490f465657b89e918353ce35a0685;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 1f232b931..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,powell,beach,buxtehude] { + if $::hostname in [beach,buxtehude,picconi,pkgmirror-1and1] { include apache2::dynamic } else { @ferm::rule { 'dsa-http':