find if application is installed on nodes

asked 2018-01-26 08:52:25 -0600

bblackmoor gravatar image

I have been asked to find if an application (apparmor, specifically) is installed on all nodes (Ubuntu servers, specifically). What I need is a list of nodes that have it, and a list of nodes that don't.

This seems like something Puppet (we are currently using v2016.4.0) could do, but my searches for how to accomplish this have not been fruitful. I'm not looking to write a module: I just want a report.

If you can suggest a way to accomplish this with Puppet (or perhaps just with Facter), I would be grateful. Feel free to direct me to existing documentation, if there is some that describes how to do this. As I mentioned, I have searched, but I haven't found a suitable answer.

Thank you.

edit retag flag offensive close merge delete

Comments

I did not add tags for this, because I do not want to mislead anyone looking for an answer later. If this receives an answer (or I find one elsewhere), I will update the tags (if that is allowed).

bblackmoor gravatar imagebblackmoor ( 2018-01-26 14:35:21 -0600 )edit

It looks like the Packages screen may be just what I need. Unfortunately, that screen does not appear to be available in Puppet Enterprise 2016.4.0, which is what we are currently using. I will investigate upgrading our installation.

bblackmoor gravatar imagebblackmoor ( 2018-01-29 08:25:31 -0600 )edit