diff options
-rw-r--r-- | sos/plugins/openshift.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/openshift.py b/sos/plugins/openshift.py index 5dab9f41..e8949209 100644 --- a/sos/plugins/openshift.py +++ b/sos/plugins/openshift.py @@ -22,6 +22,9 @@ class Openshift(Plugin, RedHatPlugin): option_list = [("broker", "Gathers broker specific files", "slow", False), ("node", "Gathers node specific files", "slow", False)] + ruby = "ruby193" + vendor ="rh" + def setup(self): self.add_copy_specs([ "/etc/openshift-enterprise-version", @@ -55,7 +58,7 @@ class Openshift(Plugin, RedHatPlugin): "/var/log/openshift/node", "/cgroup/*/openshift/", "/var/log/mcollective.log", - "/opt/rh/ruby193/root/etc/mcollective/", + "/opt/%s/%s/root/etc/mcollective/" % (self.vendor, self.ruby), "/var/log/openshift-gears-async-start.log", ]) |