summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-12-12 14:03:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-12-12 14:03:08 -0200
commit1aa6e5b5de6d92190f25f4f818441c52dedee0aa (patch)
tree8216181da4a8ae12b16c710e148b47fc37f58e74
parent21170ea32dcf4070b8c0f2d367e5663eea257a78 (diff)
downloadpuppet-apache-1aa6e5b5de6d92190f25f4f818441c52dedee0aa.tar.gz
puppet-apache-1aa6e5b5de6d92190f25f4f818441c52dedee0aa.tar.bz2
Adding passenger
-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,