Added minimal RabbitMq service info collection

This commit is contained in:
Maxim Kulkin 2013-10-16 11:31:27 +04:00
parent 0cea4427f7
commit 7e225e4f00
2 changed files with 5 additions and 2 deletions

View File

@ -408,5 +408,8 @@ class OpenstackDiscovery(object):
if ' '.join(process).find('rabbit') == -1: if ' '.join(process).find('rabbit') == -1:
return None return None
return None rabbitmq = RabbitMqComponent()
rabbitmq.version = 'unknown'
return rabbitmq

View File

@ -270,7 +270,7 @@ class MysqlComponent(Service):
name = 'mysql' name = 'mysql'
class RabbitMqComponent(Service): class RabbitMqComponent(Service):
pass name = 'rabbitmq'
class FileResource(IssueReporter): class FileResource(IssueReporter):
def __init__(self, path, contents, owner, group, permissions): def __init__(self, path, contents, owner, group, permissions):