summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b3f931f..088a02a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -60,6 +60,11 @@ class apache {
ensure => installed,
}
+ package { "mod_rack":
+ name => "libapache2-mod-passenger",
+ ensure => installed,
+ }
+
service { "apache":
name => "apache2",
ensure => running,
@@ -73,6 +78,11 @@ class apache {
require => Package["mod_macro"],
}
+ module { "passenger":
+ ensure => present,
+ require => Package["mod_rack"],
+ }
+
# apache mod_macro configuration
file { "${apache2_macros}":
ensure => present,