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

rename LDAP include fragment file extension so it doesn't get include… #257

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

lukebigum
Copy link
Contributor

Recreating #241 because I made a mess of the last PR.

When using LDAP auth on the puppetboard VHost, a file is created called puppetboard-ldap.conf. The file extension .conf is a bad choice, as this matches the inclusion glob that the puppetlabs-apache module creates:

Include "/etc/httpd/conf.d/*.conf"

This results in the puppetboard-ldap.conf being included in both the Puppet Board VHost and the default / top-level Apache config. If using Puppet Board on an Apache server that has other VHosts, it effectively applies the same LDAP restrictions to all other VHosts.

This patch renames the file to puppetboard-ldap.part to avoid the glob, and avoid the problem.

…d into the default VHost by puppetlabs-apache's include of all *.conf files
@bastelfreak bastelfreak added the bug Something isn't working label Oct 16, 2019
@bastelfreak
Copy link
Member

thanks for the fix.

@bastelfreak bastelfreak merged commit cab997f into voxpupuli:master Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants