Commit efa0a7eb authored by Romain Courteaud's avatar Romain Courteaud

Install development instance by default.

It allows to run erp5testnode.
parent e98f0ca9
...@@ -344,14 +344,14 @@ class Recipe(slapos.recipe.erp5.Recipe): ...@@ -344,14 +344,14 @@ class Recipe(slapos.recipe.erp5.Recipe):
self.path_list.append(self.killpidfromfile) self.path_list.append(self.killpidfromfile)
self.linkBinary() self.linkBinary()
self.installBT5Repo() self.installBT5Repo()
if self.parameter_dict.get('development', 'false').lower() == 'true':
self.development = True
return self.installDevelopmentEnvironment()
if self.parameter_dict.get('production_mysql', 'false').lower() == 'true': if self.parameter_dict.get('production_mysql', 'false').lower() == 'true':
self.development = False self.development = False
return self.installProductionMysql() return self.installProductionMysql()
if self.parameter_dict.get('production_application', 'false').lower() == 'true': if self.parameter_dict.get('production_application', 'false').lower() == 'true':
self.development = False self.development = False
return self.installProductionApplication() return self.installProductionApplication()
if self.parameter_dict.get('development', 'true').lower() == 'true':
self.development = True
return self.installDevelopmentEnvironment()
raise NotImplementedError('Flavour of instance have to be given.') raise NotImplementedError('Flavour of instance have to be given.')
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