Foreman on Centos 7: how to list hosts with Package X installed

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?


Solution 1:

You can find this information under Hosts > Content hosts, then write in the search field:

"installed_package_name = postgresql-server"