Commit 1de09c67 authored by Marco Mariani's avatar Marco Mariani

Merge branch 'lapp' into lapp-resilient2

parents e53a371d cac4208e
......@@ -83,8 +83,14 @@ class Recipe(GenericBaseRecipe):
]
def check_exists(self, path):
if not os.path.isfile(path):
raise IOError('File not found: %s' % path)
def createCluster(self):
initdb_binary = os.path.join(self.options['bin'], 'initdb')
self.check_exists(initdb_binary)
pgdata = self.options['pgdata-directory']
......
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