Commit 0f3b4c86 authored by Marco Mariani's avatar Marco Mariani

Merge remote-tracking branch 'origin/lapp' into lapp

parents 6675b205 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