We tried very hard to install and love Spacewalk without success. So we moved to Satellite 6, which on Centos 7 is the Foreman/Katello/Pulp/Candlepin combo.
It's all set up fine, and we are using it to deploy, update and install packages.
One thing I can't find is how to get a list of hosts which have package X installed. (in this case, postgresql-server)
Is it possible and I'm just not finding it, or am I asking too much?
You can find this information under Hosts > Content hosts, then write in the search field:
"installed_package_name = postgresql-server"
I am also having the same issue cannot find packages installed on CentOS servers. I was able to add hosts on foreman server using setup playbook. My environment has ansible plug-in and on foreman server. No Katello on foreman.