Commit ad6d17da authored by Łukasz Nowak's avatar Łukasz Nowak

- no need to store zope cluster details in connection dict


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44123 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c242dbe1
...@@ -117,18 +117,15 @@ class Recipe(BaseSlapRecipe): ...@@ -117,18 +117,15 @@ class Recipe(BaseSlapRecipe):
port = 12001 port = 12001
distribution_list = [self.installZope(port=port, name='zope_distribution', distribution_list = [self.installZope(port=port, name='zope_distribution',
with_timerservice=True, **common_kw)] with_timerservice=True, **common_kw)]
self.connection_dict.update(zope_distribution_node=' '.join(distribution_list))
activity_list = [] activity_list = []
for i in xrange(1, int(self.parameter_dict.get('activity_node_amount', 0)) + 1): for i in xrange(1, int(self.parameter_dict.get('activity_node_amount', 0)) + 1):
port += 1 port += 1
activity_list.append(self.installZope(port=port, name='zope_activity_%s' % i, activity_list.append(self.installZope(port=port, name='zope_activity_%s' % i,
with_timerservice=True, **common_kw)) with_timerservice=True, **common_kw))
self.connection_dict.update(zope_activity_node=' '.join(activity_list))
login_list = [] login_list = []
for i in xrange(1, int(self.parameter_dict.get('login_node_amount', 0)) + 1): for i in xrange(1, int(self.parameter_dict.get('login_node_amount', 0)) + 1):
port += 1 port += 1
login_list.append(self.installZope(port=port, name='zope_login_%s' % i, **common_kw)) login_list.append(self.installZope(port=port, name='zope_login_%s' % i, **common_kw))
self.connection_dict.update(zope_login_node=' '.join(login_list))
url_list = activity_list + login_list + distribution_list url_list = activity_list + login_list + distribution_list
else: else:
login_list = url_list login_list = url_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment