diff options
author | Bryan Quigley <bryan.quigley@canonical.com> | 2018-06-13 14:55:40 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-18 17:20:26 +0100 |
commit | e51ea1d847406f3efa16ba8e78bbf02924e7b0b1 (patch) | |
tree | 56d754187e7868e875beb873af0226ecb7dcc2bb | |
parent | 5941d73b9b65d1519bb285608a583abc7289f19c (diff) | |
download | sos-e51ea1d847406f3efa16ba8e78bbf02924e7b0b1.tar.gz |
[puppet] add package checks
Previously this had no checks and would run for every sosreport,
many of which don't have puppet installed.
There have been several name changes so I included a lot of package
names to try to cover all of the possible versions/distros.
Resolves: #1345
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/puppet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/puppet.py b/sos/plugins/puppet.py index 18b19af2..dedb7ae6 100644 --- a/sos/plugins/puppet.py +++ b/sos/plugins/puppet.py @@ -16,6 +16,8 @@ class Puppet(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): plugin_name = 'puppet' profiles = ('services',) + packages = ('puppet', 'puppet-common', 'puppet-server', + 'puppetserver', 'puppetmaster', 'puppet-master') def setup(self): self.add_copy_spec([ |