-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow overriding passenger_group in apache::vhost #1769
Conversation
|
@smortex Please alter the docs to reflect your changes and add some test coverage. |
|
Working on it. The test suite lacks test for the |
Just like we can use passenger_user in a VHost, allow setting passenger_group.
There is no reason to remove the trailing newline here.
|
Done! This helped finding an unrelated problem in the passenger template 😉 |
|
@david22swan maybe the needs-docs and needs-tests labels can be removed? |
| <% if @passenger_high_performance -%> | ||
| PassengerHighPerformance <%= scope.call_function('apache::bool2httpd', [@passenger_high_performance]) %> | ||
| <% end -%> | ||
| <% if @passenger_nodejs -%> | ||
| PassengerNodejs <%= @passenger_nodejs -%> | ||
| PassengerNodejs <%= @passenger_nodejs %> |
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.
nice catch! i hope the config parser is hardy enough to handle a new newline :)
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.
I don't think so 😉
Performing sanity check on apache24 configuration:
AH00526: Syntax error on line 54 of /usr/local/etc/apache24/Vhosts/25-test.conf:
PassengerNodejs takes one argument, The Node.js command to use.
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.
ah ok, so we def need that newline
Allow overriding passenger_group in apache::vhost
Just like we can use
passenger_userin a VHost, allow settingpassenger_group.