diff options
author | Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> | 2021-09-06 12:30:57 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-09-09 09:59:04 -0400 |
commit | 9a6279f76b3c1a8e9cf34f1848b61f0c9b4cc785 (patch) | |
tree | 45939577a453383f6c50ff8aabedc281fcedc2f9 | |
parent | 2becf74c0b52ae039e0fcb51d5ee1e3e828debf6 (diff) | |
download | sos-9a6279f76b3c1a8e9cf34f1848b61f0c9b4cc785.tar.gz |
[foreman] Correct Apache package on Debian
On Debian the Apache package is named apache2 and this is also used in
directory paths such as /etc/apache2 and /var/log/apache2.
Signed-off-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
-rw-r--r-- | sos/report/plugins/foreman.py | 2 | ||||
-rw-r--r-- | sos/report/plugins/foreman_proxy.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sos/report/plugins/foreman.py b/sos/report/plugins/foreman.py index a3d2827d..4539f12b 100644 --- a/sos/report/plugins/foreman.py +++ b/sos/report/plugins/foreman.py @@ -303,6 +303,6 @@ class RedHatForeman(Foreman, RedHatPlugin): class DebianForeman(Foreman, DebianPlugin, UbuntuPlugin): - apachepkg = 'apache' + apachepkg = 'apache2' # vim: set et ts=4 sw=4 : diff --git a/sos/report/plugins/foreman_proxy.py b/sos/report/plugins/foreman_proxy.py index 297e518d..075eea9d 100644 --- a/sos/report/plugins/foreman_proxy.py +++ b/sos/report/plugins/foreman_proxy.py @@ -64,7 +64,7 @@ class RedHatForemanProxy(ForemanProxy, RedHatPlugin): class DebianForemanProxy(ForemanProxy, DebianPlugin, UbuntuPlugin): - apachepkg = 'apache' + apachepkg = 'apache2' # vim: set et ts=4 sw=4 : |