Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to use the fqdn for pulpcore urls
Those URLs are used by Katello and clients to connect to Pulp and `localhost` is almost never the right choice here as it will be either not reachable (for clients) or have the wrong certs (for Katello). Try to obtain the FQDN of the system from Facter, if available and fall back to `Socket.gethostname` (which is not guaranteed to return a FQDN) otherwise.
- Loading branch information