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

[MODULES-3882] Don't write empty servername for vhost to template #1526

Merged
merged 1 commit into from
Sep 23, 2016
Merged

[MODULES-3882] Don't write empty servername for vhost to template #1526

merged 1 commit into from
Sep 23, 2016

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Sep 21, 2016

If an empty servername is given to a vhost, it shouldn't be written
to the configuration file. Else we'll end up with an invalid
configuration and httpd will fail to start. It is actually valid not
to have a Servername, and in this case, httpd will route only based
on the IP.

This resolves bug https://tickets.puppetlabs.com/browse/MODULES-3882

If an empty servername is given to a vhost, it shouldn't be written
to the configuration file. Else we'll end up with an invalid
configuration and httpd will fail to start. It is actually valid not
to have a Servername, and in this case, httpd will route only based
on the IP.
@EmilienM
Copy link

👍 Please rename the PR to "[MODULES-3882] ..."

Thanks!

@JAORMX JAORMX changed the title Don't write empty servername for vhost to template [MODULES-3882] Don't write empty servername for vhost to template Sep 21, 2016
@hunner hunner merged commit 9ec2a63 into puppetlabs:master Sep 23, 2016
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.

4 participants