diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-10-27 15:22:48 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-10-27 15:22:48 +0100 |
commit | 5b7cc37f18e70345de999a888f377b7f710dda28 (patch) | |
tree | 45fd2ee8708c06cd947a7e89aa27bc89fba3067d | |
parent | 8cc628a2393118f5e110bd9a759bddb51acfe289 (diff) | |
download | sos-5b7cc37f18e70345de999a888f377b7f710dda28.tar.gz |
[boom] add plugin for the boom boot manager
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rwxr-xr-x | sos/plugins/boom.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sos/plugins/boom.py b/sos/plugins/boom.py new file mode 100755 index 00000000..beddc399 --- /dev/null +++ b/sos/plugins/boom.py @@ -0,0 +1,41 @@ +# Copyright (C) 2017 Red Hat, Inc., Bryn M. Reeves <bmr@redhat.com> +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +from sos.plugins import Plugin, RedHatPlugin + + +class Boom(Plugin, RedHatPlugin): + """Configuration data for the boom boot manager. + """ + + plugin_name = 'boom' + profiles = ('boot', 'system') + + packages = ('python-boom', 'python2-boom', 'python3-boom') + + def setup(self): + self.add_copy_spec([ + "/boot/boom/profiles", + "/boot/loader/entries", + "/etc/default/boom", + "/etc/grub.d/42_boom" + ]) + + self.add_cmd_output([ + "boom list -VV", + "boom profile list -VV" + ]) + +# vim: set et ts=4 sw=4 : |