blt04/puppet-rvm — Issue #35: "Installing Passenger" not work on Debian, and solved
Author: k6waki
Created: 2012-02-10 10:29:24+00:00
State: open

I tried "Installing Passenger" on Debian squeeze.
It didn't install passenger at all with no errors.
After a short struggle, I found few missing.

It worked perfect with a trivial fix.

diff --git a/manifests/passenger/apache.pp b/manifests/passenger/apache.pp
index 9e4a084..f453544 100644
--- a/manifests/passenger/apache.pp
+++ b/manifests/passenger/apache.pp
@@ -10,7 +10,7 @@ class rvm::passenger::apache(
) {

case $operatingsystem {
- Ubuntu: { include rvm::passenger::apache::ubuntu::pre }
+ Ubuntu,Debian: { include rvm::passenger::apache::ubuntu::pre }
CentOS,RedHat: { include rvm::passenger::apache::centos::pre }
}

@@ -27,7 +27,7 @@ class rvm::passenger::apache(
$binpath = "${rvm_prefix}rvm/bin/"

case $operatingsystem {
- Ubuntu: {
+ Ubuntu,Debian: {
class { 'rvm::passenger::apache::ubuntu::post':
ruby_version => $ruby_version,
version => $version,

Thank you for a great job!
The puppet-rvm saved me.