diff options
-rw-r--r-- | manifests/init.pp | 3 | ||||
-rw-r--r-- | manifests/ssl.pp | 13 |
2 files changed, 11 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 74587db..c6b24a8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -30,5 +30,8 @@ class apache { if $use_munin { include apache::status } + if $use_shorewall { + include shorewall::rules::http + } } diff --git a/manifests/ssl.pp b/manifests/ssl.pp index a22920f..b85ee8e 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -1,9 +1,12 @@ # manifests/ssl.pp class apache::ssl inherits apache { - case $operatingsystem { - centos: { include apache::ssl::centos } - openbsd: { include apache::ssl::openbsd } - defaults: { include apache::ssl::base } - } + case $operatingsystem { + centos: { include apache::ssl::centos } + openbsd: { include apache::ssl::openbsd } + defaults: { include apache::ssl::base } + } + if $use_shorewall { + include shorewall::rules::http + } } |