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

Fix Apache configuration fragment directory on Debian #233

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

mattock
Copy link

@mattock mattock commented Oct 29, 2018

Debian has placed Apache configuration fragments into /etc/apache2/conf-enabled
since Debian 8, so /etc/apache2/conf.d is doomed to fail.

Debian has placed Apache configuration fragments into /etc/apache2/conf-enabled
since Debian 8, so /etc/apache2/conf.d is doomed to fail.

Signed-off-by: Samuli Seppänen <samuli.seppanen@puppeteers.fi>
@wyardley
Copy link
Contributor

Probably still requires the old path on other versions of Debian? So maybe wrap in another conditional with versioncmp()?

This one probably needs unit tests for the various scenarios.

Also, please use a commit email tied to your GitHub account.

@wyardley
Copy link
Contributor

To be fair, metadata only claims support for Debian 8 currently.

@mattock
Copy link
Author

mattock commented Dec 15, 2018

@wyardley is there a particular reason why the email has to be the same as my GitHub registration email? I mean, the original author of this PR could be anyone and I could just be relaying a patch on his/her behalf. I generally set the author email based on who owns the copyrights to the work (me or an employer/client of mine). Let me know how you want to proceed with this.

@wyardley
Copy link
Contributor

Vox just likes for the commit email to be tied with the submitter’s account so that the GitHub account shows up.

If you’d like someone else to have the attribution, that should be fine as long as their commit email is tied to a GH account

@mattock
Copy link
Author

mattock commented Dec 17, 2018

@wyardley yeah no problem, I can change the commit email. What about the unit tests you spoke about?

@wyardley
Copy link
Contributor

So in the tests in https://github.com/voxpupuli/puppet-puppetboard/blob/master/spec/classes/puppetboard_spec.rb we should add some tests for the different cases in that conditional (even tho there’s no test coverage of it now). If you need help with what to test or how, #voxpupuli on IRC or Puppet Community slack or #testing on the latter may be able to help.

@ghoneycutt ghoneycutt merged commit 4eb103d into voxpupuli:master Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants