-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Correct template for apache 2.4 and use appropriate configuration directory #136
Conversation
…mmit adds conditionals so that the correct syntax can be used. A check for ubuntu version is also done in params.pp because the files were being placed in conf-enabled instead of conf.d on my Ubuntu 14.04 with Apache 2.4 setup. After these changes puppet board is usable.
Just a thought: It would be nice if you did a blanket conditional that accounted for all of the Ubuntu versions that use Apache 2.4 |
According to the Ubuntu release notes (https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes) this switch happened at 14.04. 16.04 also has Apache 2.4 so at present it looks like we can safely say any version 14.04 or higher. |
@steveames are you able to rebase this and squash the commits? This should trigger it running against the new set of tests. I gave a quick pass to rebasing it myself, and the tests passed. Let us know on IRC or Slack if you need any help. |
Rebased / reworked in #189 |
Update to support Apache 2.4 - rework of #136
Hi @steveames, thanks for the contribution. we rebased and merged it in #189 |
This fork modifies the templates/apache/conf.erb file to put conditionals around parts of the syntax to make it compatible with Apache 2.4.
Params is also modified so that (at least on Ubuntu 14.04 running Apache 2.4) it uses conf.d instead of conf-enabled. I don't know that other versions of Ubuntu use conf-enabled. I know this setup does not.