X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=cd2a4e40add703b7b7b5c0957fe19c558970357e;hb=78ceca7ca6540a83d24a89016263235c923543db;hp=f58b71052f40bdefc35c45c73f222738f47bfb7a;hpb=cb1cd6c04051d3ccb7ed74112e9019dcc5f22b8b;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index f58b71052..cd2a4e40a 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -6,7 +6,7 @@ class apache2 { "logrotate": ensure => installed; } - case $php { + case $php5 { "true": { package { "php5-suhosin": ensure => installed; } @@ -129,4 +129,9 @@ class apache2 { command => "/etc/init.d/apache2 force-reload", refreshonly => true, } + @ferm::rule { "dsa-apache": + domain => "(ip ip6)", + description => "Allow web access", + rule => "proto tcp mod state state (NEW) dport (80) ACCEPT" + } }