Blame SOURCES/sos-bz1026962-ctdb-fix-redhatplugin-tagging-use.patch

e75bc7
From 12ec2a4643c844a7a9bf46f3d9557e38f0ae7403 Mon Sep 17 00:00:00 2001
e75bc7
From: "Bryn M. Reeves" <bmr@redhat.com>
e75bc7
Date: Mon, 19 Jan 2015 18:47:03 +0000
e75bc7
Subject: [PATCH] [ctdb] fix RedHatPlugin tagging use
e75bc7
e75bc7
The generic Ctdb class is tagged with RedHatPlugin. This causes
e75bc7
the RedHatCtdb to not execute (since only the first matching class
e75bc7
is instantiated).
e75bc7
e75bc7
Remove the RedHatPlugin tag from the Ctdb class and fix the
e75bc7
former's call to Ctdb.setup().
e75bc7
e75bc7
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
e75bc7
---
e75bc7
 sos/plugins/ctdb.py | 4 ++--
e75bc7
 1 file changed, 2 insertions(+), 2 deletions(-)
e75bc7
e75bc7
diff --git a/sos/plugins/ctdb.py b/sos/plugins/ctdb.py
e75bc7
index 443181c..e1bd78e 100644
e75bc7
--- a/sos/plugins/ctdb.py
e75bc7
+++ b/sos/plugins/ctdb.py
e75bc7
@@ -16,7 +16,7 @@
e75bc7
 from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin
e75bc7
 
e75bc7
 
e75bc7
-class Ctdb(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
e75bc7
+class Ctdb(Plugin, DebianPlugin, UbuntuPlugin):
e75bc7
     """Samba Clustered TDB
e75bc7
     """
e75bc7
     packages = ('ctdb',)
e75bc7
@@ -45,7 +45,7 @@ class Ctdb(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
e75bc7
 
e75bc7
 class RedHatCtdb(Ctdb, RedHatPlugin):
e75bc7
     def setup(self):
e75bc7
-        super(RedHatCtdb, self).super()
e75bc7
+        super(RedHatCtdb, self).setup()
e75bc7
         self.add_copy_spec("/etc/sysconfig/ctdb")
e75bc7
 
e75bc7
 # vim: et ts=4 sw=4
e75bc7
-- 
e75bc7
1.9.3
e75bc7