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 zpassenger.load for passenger #1132

Closed
wants to merge 1 commit into from

Conversation

xprazak2
Copy link

@xprazak2 xprazak2 commented May 6, 2016

This is another attempt to fix #14687. I do not think any changes regarding this problem will be accepted into puppetlabs-apache, since the module works as intended. The issue is rather a result of interaction between said module and our package.

puppetlabs-apache introduced zpassenger.load file that loads passenger module with lower priority as described here. Since we want our package to work when not managed by puppet, I moved the loading of a module from passenger.conf to zpassenger.load. This should remove the duplicated loading when managed by puppet and will work on its own as well.

@xprazak2 xprazak2 force-pushed the zpass branch 4 times, most recently from e0767ab to 9254b5b Compare May 12, 2016 06:22
@xprazak2 xprazak2 changed the title zpassenger.load for passenger Use zpassenger.load for passenger May 12, 2016
touch -r %{SOURCE10} passenger.conf
install -pm 0644 passenger.conf %{buildroot}%{_httpd_confdir}/passenger.conf

touch -r %{SOURCE12} zpassenger.load
install -pm 0644 zpassenger.load %{buildroot}%{_httpd_modconfdir}/zpassenger.load
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why install an empty file here, shouldn't it be the SOURCE12?

@xprazak2
Copy link
Author

It definitely should be SOURCE12, it is not empty now.

touch -r %{SOURCE10} passenger.conf
install -pm 0644 passenger.conf %{buildroot}%{_httpd_confdir}/passenger.conf

touch -r %{SOURCE12} zpassenger.load
cat %{SOURCE12} > zpassenger.load
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just install %{SOURCE12} below, I don't see why this extra copy's needed?

@xprazak2
Copy link
Author

xprazak2 commented Nov 8, 2016

I finally got a green build on Jenkins, could you pls take another look @domcleal ?

@domcleal
Copy link
Contributor

domcleal commented Nov 9, 2016

EL6 is no longer supported, this PR's not applicable. mod_passenger should be provided by EPEL in any case nowadays, not Foreman.

@xprazak2
Copy link
Author

xprazak2 commented Nov 9, 2016

Thanks @domcleal, closing.

@xprazak2 xprazak2 closed this Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants