aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/manifests')
-rw-r--r--modules/apache/manifests/base.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/apache/manifests/base.pp b/modules/apache/manifests/base.pp
index 9b767231..f72e4aca 100644
--- a/modules/apache/manifests/base.pp
+++ b/modules/apache/manifests/base.pp
@@ -11,8 +11,11 @@ class apache::base {
alias => 'apache-server',
}
- package { $apache::var::pkg_conf: }
-
+ # only needed on mga1 and mga2
+ if ($::lsbdistrelease == '1') or ($::lsbdistrelease == '2') {
+ package { $apache::var::pkg_conf: }
+ }
+
service { 'httpd':
alias => 'apache',
subscribe => [ Package['apache-server'] ],