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
Romain Courteaud
slapos
Commits
fdb57cea
Commit
fdb57cea
authored
Mar 11, 2014
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5.mariadb: Add support for ssl-cipher and ssl-crl options.
parent
37a0e975
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
software/erp5/instance-mariadb-input-schema.json
software/erp5/instance-mariadb-input-schema.json
+8
-0
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+2
-2
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+3
-0
stack/erp5/my.cnf.in
stack/erp5/my.cnf.in
+6
-0
No files found.
software/erp5/instance-mariadb-input-schema.json
View file @
fdb57cea
...
@@ -106,6 +106,14 @@
...
@@ -106,6 +106,14 @@
"key"
:
{
"key"
:
{
"description"
:
"Server's key, in PEM format (mandatory to enable SSL support)"
,
"description"
:
"Server's key, in PEM format (mandatory to enable SSL support)"
,
"type"
:
"string"
"type"
:
"string"
},
"crl"
:
{
"description"
:
"Server's certificate revocation list, in PEM format"
,
"type"
:
"string"
},
"cipher"
:
{
"description"
:
"Permissible cipher specifications, separated by colons"
,
"type"
:
"string"
}
}
},
},
"type"
:
"object"
"type"
:
"object"
...
...
stack/erp5/buildout.cfg
View file @
fdb57cea
...
@@ -179,7 +179,7 @@ context =
...
@@ -179,7 +179,7 @@ context =
[template-mariadb]
[template-mariadb]
< = download-base
< = download-base
filename = instance-mariadb.cfg.in
filename = instance-mariadb.cfg.in
md5sum =
7946369d6df508d854c786ab653e8cd
4
md5sum =
1e623053708a4d1de7a17d10ea5196c
4
link-binary =
link-binary =
${coreutils:location}/bin/basename
${coreutils:location}/bin/basename
${coreutils:location}/bin/cat
${coreutils:location}/bin/cat
...
@@ -210,7 +210,7 @@ md5sum = 5ad1664a39fbab5f8450c7fb36c81945
...
@@ -210,7 +210,7 @@ md5sum = 5ad1664a39fbab5f8450c7fb36c81945
[template-my-cnf]
[template-my-cnf]
< = download-base
< = download-base
filename = my.cnf.in
filename = my.cnf.in
md5sum =
21d1e74c964a4882f33c360e9c8a3d44
md5sum =
e0563820db570b77d24eb3ef0b0e0209
[template-mariadb-initial-setup]
[template-mariadb-initial-setup]
< = download-base
< = download-base
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
fdb57cea
...
@@ -61,6 +61,9 @@ about laxist file mode. -#}
...
@@ -61,6 +61,9 @@ about laxist file mode. -#}
{% if 'ca-crt' in ssl_parameter_dict -%}
{% if 'ca-crt' in ssl_parameter_dict -%}
{{ sslfile('ca-crt', ssl_parameter_dict['ca-crt']) }}
{{ sslfile('ca-crt', ssl_parameter_dict['ca-crt']) }}
{% endif -%}
{% endif -%}
{% if 'crl' in ssl_parameter_dict -%}
{{ sslfile('crl', ssl_parameter_dict['crl']) }}
{% endif -%}
{%- endif %}
{%- endif %}
{% if full_backup_retention_days > -1 -%}
{% if full_backup_retention_days > -1 -%}
...
...
stack/erp5/my.cnf.in
View file @
fdb57cea
...
@@ -76,6 +76,12 @@ ssl_key = {{ parameter_dict['ssl-key'] }}
...
@@ -76,6 +76,12 @@ ssl_key = {{ parameter_dict['ssl-key'] }}
{% if 'ssl-ca-crt' in parameter_dict -%}
{% if 'ssl-ca-crt' in parameter_dict -%}
ssl_ca = {{ parameter_dict['ssl-ca-crt'] }}
ssl_ca = {{ parameter_dict['ssl-ca-crt'] }}
{%- endif %}
{%- endif %}
{% if 'ssl-crl' in parameter_dict -%}
ssl_crl = {{ parameter_dict['ssl-crl'] }}
{%- endif %}
{% if 'ssl-cipher' in parameter_dict -%}
ssl_cipher = {{ parameter_dict['ssl-cipher'] }}
{%- endif %}
{%- endif %}
{%- endif %}
[client]
[client]
...
...
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