-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/apache status, rework and improvments #8
Merged
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
76dcb7a
Add the `apache__mpm_max_connections_per_child` variable
ypid 98e39f0
Move OCSP Stapling default vars below basic TLS configuration
ypid 6d97fe5
Ensure that the shared object cache provider is loaded when required
ypid 014abc8
Change default virtual host to `default.{{ + apache__domain }}`
ypid 83d3086
Add support to enable and configure Apache mod_status
ypid dccad54
Support generic Apache template generation using the IfVersion directive
ypid c6d7cb8
Regen README
ypid 7cc530d
Fix indention of directives applied to the root dir of vhosts
ypid 3f7d6ab
Fix spelling in docs
ypid 15a1227
Change `apache__hsts_preload` from `True` to `False` by default
ypid 505e6f2
Fix spelling of apache__snippets type introduced in this branch
ypid bbd9061
Use singular apache__ref_vhost_ label as docs anchor
ypid 2a0c2b6
Fix role run with `apache__deploy_state: absent` after `present` was set
ypid e7e00ba
Add Ansible tags for env roles
ypid 5e76849
Add missing filename suffixes in docs
ypid 9354f6d
Fix spelling
ypid 185e1bf
Fix missing newline in configuration which produced invalid syntax
ypid b1231f7
Improve spelling and indention
ypid 5f0bebb
Ensure that the rewrite module is loaded when required by the role
ypid 04d02e3
Incorporate review by @drybjed, thanks!
ypid 22d4718
Prepare debops__tpl_macros.j2 upstreaming
ypid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
debops.apache - Manage and configure the Apache HTTP Server | ||
|
||
Copyright (C) 2016 Robin Schneider <[email protected]> | ||
Copyright (C) 2016 DebOps https://debops.org/ | ||
Copyright (C) 2016-2017 Robin Schneider <[email protected]> | ||
Copyright (C) 2016-2017 DebOps https://debops.org/ | ||
|
||
This Ansible role is part of DebOps. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How much does debops care about users who upgrade this role? E.g. should it be mentioned what the user has to do to get rid of old, unmaintained files? In this case, it seems that 000-default needs to be deleted manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah. no. sorry, I was confused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before you delete any files, check if they are configuration files included in a package:
If so, you shouldn't remove them. This might hinder future upgrades, automated or not. Instead, you should divert the affected files either in the same directory with a different suffix (usually
.dpkg-divert
) or to another directory altogether so that the package manager still knows that they exist and can perform the package upgrades correctly.This is different with the configuration files generated on the package installation dynamically, or managed by the
ucf
system. In this case, you should check the postinstall script of a given package for some clues how to handle this.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not change the filename and thus does not leave unmaintained files danging around. But to your question, sure, something like this would be noted if it can not be avoided (which would be preferred obviously). But this does not necessarily apply to a unreleased role but thanks for checking back 😉
Ref: debops/docs#160
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drybjed The role already takes care of this 😉