pulp worker count needs a maximum
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120903
Description of problem:
currently if you install a satellite on systems with a large number of cpus (16, 32, etc..) the number of pulp workers is very large. In reality we only need around 8 workers max. So we should default the config file in /etc/defaults/ to 6 or 8 or the cpu count if its lower than 6 or 8
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install satellite 6
2. Check the number of workers ps aux | grep pulp_workers (then divide by 2)
Does not limit itself to any number.
For a large cpu system should limit itself to 6 or 8
Fixes #8266: Allow setting the number of Pulp workers to be used.
This also adds logic to set the Pulp workers based on processor count
but to cap the maximum at 8 unless overriden by a user.