Blame SOURCES/sos-bz997090-cluster-plugin-add-obfuscation-of-luci-secrets.patch

6b17e9
commit 08ddb0559f29f3525c3b43bf59cc79467e0f75fb
6b17e9
Author: Jan Pokorný <jpokorny@redhat.com>
6b17e9
Date:   Sat Jul 20 09:16:13 2013 +0200
6b17e9
6b17e9
    cluster plugin: restrict data collected for luci
6b17e9
    
6b17e9
    Notably, avoid server cert being added.  On the other hand, allow
6b17e9
    collection of rotated log files for luci.
6b17e9
    
6b17e9
    Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
6b17e9
6b17e9
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
6b17e9
index b9fa8b3..50e0e0b 100644
6b17e9
--- a/sos/plugins/cluster.py
6b17e9
+++ b/sos/plugins/cluster.py
6b17e9
@@ -46,9 +46,10 @@ class Cluster(Plugin, RedHatPlugin):
6b17e9
         self.add_copy_spec("/etc/sysconfig/cman")
6b17e9
         self.add_copy_spec("/etc/fence_virt.conf")
6b17e9
         self.add_copy_spec("/var/lib/ricci")
6b17e9
-        self.add_copy_spec("/var/lib/luci")
6b17e9
+        self.add_copy_spec("/var/lib/luci/data/luci.db")
6b17e9
+        self.add_copy_spec("/var/lib/luci/etc")
6b17e9
         self.add_copy_spec("/var/log/cluster")
6b17e9
-        self.add_copy_spec("/var/log/luci/luci.log")
6b17e9
+        self.add_copy_spec("/var/log/luci")
6b17e9
         self.add_copy_spec("/etc/fence_virt.conf")
6b17e9
 
6b17e9
         if self.get_option('gfslockdump'):