Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use puppetlabs/apache to configure Passenger #15

Closed
wants to merge 13 commits into from

Conversation

hakamadare
Copy link

I kept going with the work that resulted in #11 and ended up replacing the Apache management code in this module with calls to the puppetlabs-apache module. I apologize for the messy commit history.

As best I can tell, for Passenger

    $version >= 4.0.0           ${gemdir}/buildout/apache2/mod_passenger.so
    3.9.0 <= $version < 4.0.0   ${gemdir}/libout/apache2/mod_passenger.so
    $version < 3.9.0            ${gemdir}/ext/apache2/mod_passenger.so

This commit also specifies $HOME in execs of rvm commands; not having it
set was breaking on EC2 instances.  Finally, I switch to the `osfamily`
fact instead of `operatingsystem` to add compatibility with additional
platforms.
Conflicts:
	manifests/passenger/apache.pp
	manifests/passenger/apache/centos/post.pp
	manifests/passenger/apache/ubuntu/post.pp
Note: this requires
huit/puppetlabs-apache@034d018 to be
merged upstream before it will work!  Clone from huit/puppetlabs-apache
mod_libdir_package_params branch.
Note: this requires
huit/puppetlabs-apache@034d018 to be
merged upstream before it will work!  Clone from huit/puppetlabs-apache
mod_libdir_package_params branch.
Conflicts:
	manifests/passenger/apache.pp
Bugfix - forgot to build the Apache module
…into puppetlabs_apache

Conflicts:
	manifests/passenger/apache.pp
	manifests/passenger/apache/centos/post.pp
	manifests/passenger/apache/centos/pre.pp
	manifests/passenger/apache/ubuntu/post.pp
	manifests/passenger/apache/ubuntu/pre.pp
@carlossg
Copy link
Member

I have created a puppetlabs_apache branch with your changes rebased, adding some system tests to verify it all works

carlossg pushed a commit that referenced this pull request Nov 6, 2013
[Issue #13] Ensure passenger is not installed on each run
@carlossg
Copy link
Member

carlossg commented Nov 6, 2013

added in 1.2.0

@carlossg carlossg closed this Nov 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants