diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-03-13 11:43:58 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-21 16:23:37 +0000 |
commit | e1c475cd0b915710f84500ee1e50fd76b233a1d7 (patch) | |
tree | 1e786856d32050fe15da40469478530dd8fce7b1 | |
parent | 6f03b85a9a18027a61d051b2c92d97c27f6c653f (diff) | |
download | sos-e1c475cd0b915710f84500ee1e50fd76b233a1d7.tar.gz |
[named] Collect /etc/default/bind and named.log
Adds collection of /etc/default/bind and /var/log/named.log.
Related: #1525
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/named.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/named.py b/sos/plugins/named.py index 8a47a872..6df04f35 100644 --- a/sos/plugins/named.py +++ b/sos/plugins/named.py @@ -20,6 +20,10 @@ class Named(Plugin): config_files = named_conf def setup(self): + self.add_copy_spec([ + "/etc/default/bind", + "/var/log/named*.log" + ]) for cfg in self.config_files: if exists(cfg): self.add_copy_spec([ |