def start(self, env): import params env.set_params(params) if not params.is_es_master and not params.is_es_indexer: elasticsearch(action='config') elasticsearch(action='start') self.configure(env) kibana(action='start')
def status(self, env): kibana(action='status')
def stop(self, env): import params if not params.is_es_master and not params.is_es_indexer: elasticsearch(action='stop') kibana(action='stop')
def configure(self, env): import params env.set_params(params) kibana(action='config')
def install(self, env): import params self.install_packages(env) kibana(action="install")