Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
f6543604
Commit
f6543604
authored
Oct 08, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set connection dict in cubrid recipe
parent
c27645f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
slapos/recipe/cubrid/.__init__.py.swp
slapos/recipe/cubrid/.__init__.py.swp
+0
-0
slapos/recipe/cubrid/__init__.py
slapos/recipe/cubrid/__init__.py
+8
-7
No files found.
slapos/recipe/cubrid/.__init__.py.swp
0 → 100644
View file @
f6543604
File added
slapos/recipe/cubrid/__init__.py
View file @
f6543604
...
@@ -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
.
setConnection
Url
(
scheme
=
'mysqls'
,
self
.
setConnection
Dict
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment