As a user I want to be able to tell pulp where server.yaml file is and not have it be hardcoded to /etc/pulp/
Pulp currently needs root permissions to install correctly because the server.yaml file is hardcoded to live in /etc/pulp/.
This is unwanted behavior for installing pulp from PyPI.
Pulp should discover where the server.yaml file is via an environmental variable. This would have the side effect of making pulp more cross platform.
Currently the hardcoded path is in settings.py:
#5 Updated by bmbouter over 2 years ago
The majority of installations will have it installed at /etc/pulp/server.yaml. All rpm based installs for example will have it set there. We should really default to /etc/pulp/server.yaml.
To implement I was thinking we don't even have to check the filesystem at all. We could:
if env_var_for_conf_is_set: path_to_conf = the_env_set_path else: path_to_conf = '/etc/pulp/server.yaml'
Please register to edit this issue