From 6caa277f2e147d9aab5997cbda1a3b5992201db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 10 Feb 2015 13:10:46 +0100 Subject: [PATCH 4/4] agent: use commoncode to deploy passerelle instances (#6112) --- hobo/agent/services.py | 1 + hobo/settings.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/hobo/agent/services.py b/hobo/agent/services.py index 7f25a86..bc26320 100644 --- a/hobo/agent/services.py +++ b/hobo/agent/services.py @@ -59,6 +59,7 @@ class BaseService(object): class Passerelle(BaseService): service_id = 'passerelle' + service_manage_cmd = settings.PASSERELLE_MANAGE_COMMAND class Wcs(BaseService): diff --git a/hobo/settings.py b/hobo/settings.py index 63a6700..5a91242 100644 --- a/hobo/settings.py +++ b/hobo/settings.py @@ -133,6 +133,8 @@ AGENT_AUTHENTIC_COMMAND = '/usr/bin/authentic2-ctl deploy' COMBO_MANAGE_COMMAND = '/usr/lib/combo/manage.py' +PASSERELLE_MANAGE_COMMAND = '/usr/lib/passerelle/manage.py' + try: from kombu.common import Broadcast CELERY_ACCEPT_CONTENT = ['json'] -- 2.1.4