Task #7750
closedAdd Installation Layout on the filesystem to the installation guide
100%
Description
The installation guide should provide information about the layout of /var/lib/pulp and /etc/pulp/. Something similar to what the foreman-installer offers in this area[0].
[0] https://github.com/theforeman/puppet-pulpcore#installation-layout
Updated by mdepaulo@redhat.com almost 4 years ago
So the pulp team decided on pulpcore_static
because:
- It's similar to the
static
directory we use for Pulp 2. "pulpcore" is our standard Pulp 3 prefix for conflicting file/services/etc names. - It's meant for static assets served by the webserver rather than by whitenoise in the Pulp 3 processes. Currently Apache or nginx, potentially other webservers that don't have that exact setting. Potentially some other web / cloud architecture mechanism.
- I think there are alternatives to the "DocumentRoot" config setting we may use at some point, particularly if the webserver is to be shared with other applications.
DocRoot is more specific to the current implementation and makes perfect sense for someone who is versed in Apache or Nginx. But I still prefer pulpcore_static, which is more future-proof in terms of naming, and backwards referential (Pulp 2 "static").
Updated by ekohl almost 4 years ago
Nginx calls it root instead of DocumentRoot, but that's fairly similar. As such, it's closer than just "pulpcore_static". However, if that's what you choose then we'll follow.
It would be very useful if the documentation (for example https://docs.pulpproject.org/pulpcore/installation/index.html) would document the recommended directory layout. For now I wrote it myself (https://github.com/theforeman/puppet-pulpcore#installation-layout) but for anyone looking to learn more that would be a good start.
Updated by dkliban@redhat.com almost 4 years ago
Changing the name of the directory would require our installer to provide an upgrade path for this change. At this time we don't have the capacity to work on such a feature in the installer. Let's all use /var/lib/pulp/pulpcore_static/.
Updated by dkliban@redhat.com almost 4 years ago
- Tracker changed from Issue to Task
- Status changed from NEW to CLOSED - COMPLETE
- % Done set to 0
- Severity deleted (
2. Medium) - Triaged deleted (
No)
Updated by dkliban@redhat.com almost 4 years ago
- Subject changed from Determine the recommended document root to Add Installation Layout on the filesystem to the installation guide
- Description updated (diff)
- Status changed from CLOSED - COMPLETE to NEW
- Tags Documentation added
Re-opened as a documentation task and updated the description.
Updated by mdellweg almost 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mdellweg
Updated by pulpbot almost 4 years ago
- Status changed from ASSIGNED to POST
Added by mdellweg over 3 years ago
Updated by mdellweg over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|a69eb16bbb4db4f35e1fdc3119a1b1e898fb9f3e.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Add filesystem layout to deployment docs
fixes #7750 https://pulp.plan.io/issues/7705