aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2013-11-01 15:27:13 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2013-11-01 15:27:13 -0400
commit4d8ddfbbb9dcce27e16212fafbd0e9d9a3ad995a (patch)
tree52cb95d8d316dbe1e314842524f716d4edfd9789
parentd8351bdda8886a5ad8b86c0a24f6d17d71771aac (diff)
downloadsos-4d8ddfbbb9dcce27e16212fafbd0e9d9a3ad995a.tar.gz
Do not copy ceph keyring files
Fixes #200 Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/ceph.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
index 3c145e42..decd161e 100644
--- a/sos/plugins/ceph.py
+++ b/sos/plugins/ceph.py
@@ -39,3 +39,6 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
self.add_cmd_output("ceph mon stat")
self.add_cmd_output("ceph mon dump")
+ self.add_forbidden_path("/etc/ceph/*keyring")
+ self.add_forbidden_path("/var/lib/ceph/*/*keyring")
+ self.add_forbidden_path("/var/lib/ceph/*keyring")