diff options
author | Shubhendu Tripathi <shtripat@redhat.com> | 2014-04-11 15:59:03 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-28 16:20:46 +0530 |
commit | b6c5c9910ca136b5a5e720cdbabf8dd0a5ef6cd7 (patch) | |
tree | b09f9c07fa16d5cc4883928ffc644e301ea7510b | |
parent | eaf3d4136d6dd1ef00a7cef23f9338b03783dd43 (diff) |
gluster-nagios-common: Corrected command definitions
Corrected the command definitions which were removed
accidently
Change-Id: I1e069d178d48534b72245b025b63b5e2616bd4bd
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/22992
Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com>
-rw-r--r-- | glusternagios/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glusternagios/utils.py b/glusternagios/utils.py index a46811d..d329877 100644 --- a/glusternagios/utils.py +++ b/glusternagios/utils.py @@ -105,6 +105,8 @@ setsidCmdPath = CommandPath("setsid", sudoCmdPath = CommandPath("sudo", "/usr/bin/sudo", ) +hostnameCmdPath = CommandPath("hostname", "/bin/hostname", ) +glusterCmdPath = CommandPath("gluster", "/usr/sbin/gluster") # Buffsize is 1K because I tested it on some use cases and 1K was fastest. If # you find this number to be a bottleneck in any way you are welcome to change # it |