Set connection dict in cubrid recipe

parent c27645f9
...@@ -62,17 +62,18 @@ class Recipe(BaseSlapRecipe): ...@@ -62,17 +62,18 @@ class Recipe(BaseSlapRecipe):
certificate, key, ca_conf['ca_crl'], certificate, key, ca_conf['ca_crl'],
ca_conf['certificate_authority_path']) ca_conf['certificate_authority_path'])
self.setConnectionUrl(scheme='mysqls', self.setConnectionDict(dict(
host=stunnel_conf['public_ip'], stunnel_ip = stunnel_conf['public_ip'],
port=stunnel_conf['public_port'], stunnel_port = stunnel_conf['public_port'],
#auth=(cubrid_conf['cubrid_user'], database = cubrid_conf['cubrid_database']
# cubrid_conf['cubrid_password']), ))
path=cubrid_conf['cubrid_database'])
return self.path_list return self.path_list
def installCubrid(self, ip, port, database='db', user='user', def installCubrid(self, ip, port, database='db', user='user',
template_filename=None, cubrid_conf=None): template_filename=None, cubrid_conf=None):
# XXX-Cedric : use work from Antoine to have backuped + generic cubrid # XXX-Cedric : use work from Antoine to have backuped + generic cubrid
# XXX-Cedric : Check that running this recipe does not erase database
config_dict = {} config_dict = {}
config_dict.update(self.options) config_dict.update(self.options)
......
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