Commit 157c235d authored by Marco Mariani's avatar Marco Mariani

explicit error if postgres was not set up

parent bd08648f
......@@ -74,6 +74,9 @@ class Recipe(GenericBaseRecipe):
"""
def install(self):
if not self.options['db_port']:
raise ValueError, "DB connection parameters are not ready yet"
self.update_phpini(php_ini_path=self.options['php_ini'])
self.load_initial_db()
......
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