Project

General

Profile

0001-agent-use-commoncode-to-deploy-passerelle-instances-.patch

Frédéric Péters (de retour le 9/12), 10 February 2015 01:12 PM

Download (1.32 KB)

View differences:

Subject: [PATCH] agent: use commoncode to deploy passerelle instances (#6112)

 hobo/agent/services.py | 3 +++
 hobo/settings.py       | 3 +++
 2 files changed, 6 insertions(+)
hobo/agent/services.py
60 60

  
61 61
class Passerelle(BaseService):
62 62
    service_id = 'passerelle'
63
    service_settings_env = 'PASSERELLE_SETTINGS_FILE'
64
    service_manage_cmd = settings.PASSERELLE_MANAGE_COMMAND
65
    service_settings_file = settings.PASSERELLE_SETTINGS_FILE
63 66

  
64 67

  
65 68
class Wcs(BaseService):
hobo/settings.py
134 134
COMBO_SETTINGS_FILE = '/etc/combo/settings.py'
135 135
COMBO_MANAGE_COMMAND = '/usr/lib/combo/manage.py'
136 136

  
137
PASSERELLE_SETTINGS_FILE = '/etc/passerelle/settings.py'
138
PASSERELLE_MANAGE_COMMAND = '/usr/lib/passerelle/manage.py'
139

  
137 140
try:
138 141
    from kombu.common import Broadcast
139 142
    CELERY_ACCEPT_CONTENT = ['json']
140
-