Commit 299752f5 authored by Łukasz Nowak's avatar Łukasz Nowak

Stabilise ZODB naming.

It shall be possible to switch easily between Zeo/Zope configuration without
need to copy ZODB.
parent d44a97f9
...@@ -131,7 +131,7 @@ class Recipe(BaseSlapRecipe): ...@@ -131,7 +131,7 @@ class Recipe(BaseSlapRecipe):
""" """
zodb_dir = os.path.join(self.data_root_directory, 'zodb') zodb_dir = os.path.join(self.data_root_directory, 'zodb')
self._createDirectory(zodb_dir) self._createDirectory(zodb_dir)
zodb_root_path = os.path.join(zodb_dir, 'root.fs') zodb_root_path = os.path.join(zodb_dir, 'main.fs')
thread_amount_per_zope = int(self.options.get( thread_amount_per_zope = int(self.options.get(
'single_zope_thread_amount', 4)) 'single_zope_thread_amount', 4))
......
...@@ -161,7 +161,7 @@ class Recipe(slapos.recipe.erp5.Recipe): ...@@ -161,7 +161,7 @@ class Recipe(slapos.recipe.erp5.Recipe):
user, password = self.installERP5() user, password = self.installERP5()
zodb_dir = os.path.join(self.data_root_directory, 'zodb') zodb_dir = os.path.join(self.data_root_directory, 'zodb')
self._createDirectory(zodb_dir) self._createDirectory(zodb_dir)
zodb_root_path = os.path.join(zodb_dir, 'root.fs') zodb_root_path = os.path.join(zodb_dir, 'main.fs')
ip = self.getLocalIPv4Address() ip = self.getLocalIPv4Address()
zope_port = '18080' zope_port = '18080'
zope_access = self.installZope(ip, zope_port, 'zope_development', zope_access = self.installZope(ip, zope_port, 'zope_development',
......
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