Issue #3588
closedAdd MEDIA_ROOT option section to server.yaml
Description
Add a comment section about MEDIA_ROOT so users can set it to another location:
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/settings.py#L30
Related issues
Updated by daviddavis over 6 years ago
- Project changed from Ansible Plugin to Pulp
Updated by dalley over 6 years ago
Can't users simply override it in server.yaml? It's not currently a (commented out) option but there's no reason that I know of that you couldn't do that.
Updated by daviddavis over 6 years ago
- Tags Documentation added
Ah I assumed that it wasn't overridable because it is all uppercase. Any idea why some constants are all uppercase while others aren't (e.g. [0][1])?
Also, going to set this to a docs issue.
[0] https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/etc/pulp/server.yaml#L87-L88
[1] https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/etc/pulp/server.yaml#L103-L105
Updated by daviddavis over 6 years ago
- Subject changed from Users can't configure MEDIA_ROOT to Add MEDIA_ROOT section to server.yaml
Updated by daviddavis over 6 years ago
- Subject changed from Add MEDIA_ROOT section to server.yaml to Add MEDIA_ROOT option section to server.yaml
- Description updated (diff)
Updated by dalley over 6 years ago
Maybe we should verify that it does work properly. Unit test perhaps?
SECRET_KEY, though, is another constant that is all-caps but is (supposed to be) overrideable in settings.yaml.
This issue can probably just be satisfied by adding a commented-out entry for MEDIA_ROOT with a description.
Updated by daviddavis over 6 years ago
- Related to Issue #3589: Settings in server.yaml have inconsistent names added
Updated by daviddavis over 6 years ago
I confirmed that setting MEDIA_ROOT in server.yaml works. +1 to adding an entry in server.yaml and closing this out.
Updated by daviddavis over 6 years ago
- Status changed from NEW to POST
- Assignee set to daviddavis
Added by daviddavis over 6 years ago
Added by daviddavis over 6 years ago
Revision 50f209e9 | View on GitHub
Add documentation for MEDIA_ROOT setting
Updated by daviddavis over 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|50f209e910cb7255f5fa3a0e81786a82926bbd40.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Add documentation for MEDIA_ROOT setting
fixes #3588 https://pulp.plan.io/issues/3588