diff options
author | Michele Baldessari <michele@acksyn.org> | 2015-12-07 18:35:04 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-12-14 13:16:32 +0000 |
commit | 6eb6e17e368b62d667d90639227950844e954c70 (patch) | |
tree | e1bc9f7292d933a85bbed937360289c496d5b2e8 | |
parent | 08121d877741e33333a1ae01280f6898d7d4ca15 (diff) | |
download | sos-6eb6e17e368b62d667d90639227950844e954c70.tar.gz |
[haproxy] Collect /etc/haproxy/conf.d/*
Some openstack installations split out the configuration files
via an "include conf.d/*.cfg" directive. Add the whole directory
in order to collect that as well.
Fixes: #674.
Signed-off-by: Michele Baldessari <michele@acksyn.org>
-rw-r--r-- | sos/plugins/haproxy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/haproxy.py b/sos/plugins/haproxy.py index ba398838..717cf649 100644 --- a/sos/plugins/haproxy.py +++ b/sos/plugins/haproxy.py @@ -27,6 +27,7 @@ class HAProxy(Plugin, RedHatPlugin, DebianPlugin): def setup(self): self.add_copy_spec("/etc/haproxy/haproxy.cfg") + self.add_copy_spec("/etc/haproxy/conf.d/*") self.add_cmd_output("haproxy -f /etc/haproxy/haproxy.cfg -c") self.add_copy_spec("/var/log/haproxy.log") |