This commit is contained in:
Stan Lagun 2013-03-28 18:44:23 +04:00
parent 9d38355517
commit a9a3cbc573

View File

@ -41,7 +41,7 @@ def prepare_user_data(context, hostname, service, unit, template='Default', **kw
'%RABBITMQ_HOST%', settings.host)
template_data = template_data.replace(
'%RABBITMQ_INPUT_QUEUE%',
'-'.join([str(context['/dataSource']['id']),
'-'.join([str(context['/dataSource']['name']),
str(service), str(unit)]).lower()
)
template_data = template_data.replace(