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

Allow overriding passenger_group in apache::vhost #1769

Merged
merged 3 commits into from
Mar 14, 2018

Conversation

smortex
Copy link
Collaborator

@smortex smortex commented Mar 5, 2018

Just like we can use passenger_user in a VHost, allow setting passenger_group.

@david22swan
Copy link
Member

@smortex Please alter the docs to reflect your changes and add some test coverage.

@smortex
Copy link
Collaborator Author

smortex commented Mar 7, 2018

Working on it. The test suite lacks test for the passenger_* params… Adding them.

Just like we can use passenger_user in a VHost, allow setting
passenger_group.
There is no reason to remove the trailing newline here.
@smortex
Copy link
Collaborator Author

smortex commented Mar 7, 2018

Done! This helped finding an unrelated problem in the passenger template 😉

@smortex
Copy link
Collaborator Author

smortex commented Mar 13, 2018

@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 %>
Copy link
Contributor

@eputnam eputnam Mar 14, 2018

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 :)

Copy link
Collaborator Author

@smortex smortex Mar 14, 2018

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.

Copy link
Contributor

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

@eputnam eputnam merged commit 3b3a6f6 into puppetlabs:master Mar 14, 2018
@smortex smortex deleted the passenger-group branch February 6, 2019 20:28
cegeka-jenkins pushed a commit to cegeka/puppet-apache that referenced this pull request Jul 15, 2020
Allow overriding passenger_group in apache::vhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants