-
Notifications
You must be signed in to change notification settings - Fork 148
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
Conversation
e0767ab
to
9254b5b
Compare
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 |
There was a problem hiding this comment.
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?
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 |
There was a problem hiding this comment.
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?
6f8f017
to
2691389
Compare
I finally got a green build on Jenkins, could you pls take another look @domcleal ? |
EL6 is no longer supported, this PR's not applicable. mod_passenger should be provided by EPEL in any case nowadays, not Foreman. |
Thanks @domcleal, closing. |
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 frompassenger.conf
tozpassenger.load
. This should remove the duplicated loading when managed by puppet and will work on its own as well.