aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2023-05-19 08:36:07 +0100
committerJake Hunsaker <jhunsake@redhat.com>2023-05-19 14:54:33 -0400
commit31d8534241306f2ff4466ccfcfa71dff59ad74e3 (patch)
tree41d04b1c7a903ae163ed4b3bca7d7a3977d523d4
parentcf26dc6fcd9bcd798c1b27dd6fdba5e400260858 (diff)
downloadsos-31d8534241306f2ff4466ccfcfa71dff59ad74e3.tar.gz
[juju] Ensure to collect hidden files
Currently, it was inconsistent with the hidden file collection, this line ensures that we collect these files for better support Closes: #3242 Signed-off-by: Arif Ali <arif.ali@canonical.com>
-rw-r--r--sos/report/plugins/juju.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/juju.py b/sos/report/plugins/juju.py
index d6d4976a..3a947b54 100644
--- a/sos/report/plugins/juju.py
+++ b/sos/report/plugins/juju.py
@@ -44,7 +44,8 @@ class Juju(Plugin, UbuntuPlugin):
# want all logs you want this too.
self.add_copy_spec([
"/var/log/juju",
- "/var/lib/juju"
+ "/var/lib/juju",
+ "/var/lib/juju/**/.*",
])
self.add_forbidden_path("/var/lib/juju/kvm")
else: