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
Georgios Dagkakis
slapos
Commits
61bbc356
Commit
61bbc356
authored
May 28, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repman: update since changes on supervisord controller
parent
c706346c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
software/repman/buildout.hash.cfg
software/repman/buildout.hash.cfg
+2
-2
software/repman/instance-mariadb.cfg.jinja2.in
software/repman/instance-mariadb.cfg.jinja2.in
+5
-5
software/repman/instance-repman.cfg.jinja2.in
software/repman/instance-repman.cfg.jinja2.in
+4
-4
No files found.
software/repman/buildout.hash.cfg
View file @
61bbc356
...
...
@@ -18,7 +18,7 @@ md5sum = b41f521b5f7980c64260ed0e5c494450
[instance-repman.cfg]
_update_hash_filename_ = instance-repman.cfg.jinja2.in
md5sum =
4ddb88852c1bb89d64ecca2f2a7ada0a
md5sum =
7f486e429f8c2e95d28d79748a0122d1
[config-toml.in]
_update_hash_filename_ = templates/config.toml.in
...
...
@@ -34,7 +34,7 @@ md5sum = 0eeb24c6aa0760f0d33c4cc2828ddf30
[template-mariadb.cfg]
_update_hash_filename_ = instance-mariadb.cfg.jinja2.in
md5sum =
44c4b22c37adc6b7add3581aee7bbadf
md5sum =
b750f9ea573128a77ee6292048392844
[template-my-cnf]
_update_hash_filename_ = templates/my.cnf.in
...
...
software/repman/instance-mariadb.cfg.jinja2.in
View file @
61bbc356
...
...
@@ -144,13 +144,13 @@ executable = ${mysqld:rendered}
wrapper = ${directory:controller}/mariadb
{% import "supervisord_lib" as supervisord_lib with context %}
{{ supervisord_lib.supervisord("mariadb-c
ontroller
", buildout_bin_directory, supervisord_conf, use_service_hash=False) }}
{% do part_list.append("
mariadb-controller-service
") -%}
{{ supervisord_lib.supervisord("mariadb-c
tl
", buildout_bin_directory, supervisord_conf, use_service_hash=False) }}
{% do part_list.append("
supervisord-mariadb-ctl
") -%}
{% set maradb_program_dict = {"name": "mariadb", "command": "${ca-mysqld:wrapper}",
"stopwaitsecs": 86400, "environment": []} %}
{{ supervisord_lib.supervisord_program("mariadb
-controller", "mariadb
", maradb_program_dict) }}
{% do part_list.append("
mariadb-controller
-mariadb") %}
{{ supervisord_lib.supervisord_program("mariadb", maradb_program_dict) }}
{% do part_list.append("
supervisord
-mariadb") %}
[odbc-ini-text]
text = {{ dumps(slapparameter_dict.get('odbc-ini', '').encode('base64')) }}
...
...
@@ -286,7 +286,7 @@ command = ${template-mysqld-need-start:rendered}
rendered = ${directory:bin}/mysqld_need_start
template = {{ parameter_dict['template-mysqld-need-start'] }}
context =
key mariadb_controller mariadb-c
ontroller
-bin:wrapper-path
key mariadb_controller mariadb-c
tl
-bin:wrapper-path
key update_config mysql-get-config:rendered
raw username {{ slapparameter_dict['repman-user'] }}
raw repman_url {{ slapparameter_dict['repman-url'] }}
...
...
software/repman/instance-repman.cfg.jinja2.in
View file @
61bbc356
...
...
@@ -27,9 +27,9 @@ nginx-prefix = ${:var}/nginx
tmp = ${:home}/tmp
{% import "supervisord_lib" as supervisord_lib with context %}
{% set proxysql_controller = "proxysql-c
ontroller
" -%}
{% set proxysql_controller = "proxysql-c
tl
" -%}
{{ supervisord_lib.supervisord(proxysql_controller, buildout_bin_directory, supervisord_conf, use_service_hash=False) }}
{% do part_list.append("
proxysql-controller-service
") -%}
{% do part_list.append("
supervisord-proxysql-ctl
") -%}
[request-common]
recipe = slapos.cookbook:request.serialised
...
...
@@ -226,8 +226,8 @@ config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-port}' }}
"stdout_logfile": "${repman:proxies-log}/" ~ service_name ~ ".log",
"stderr_logfile": "${repman:proxies-log}/" ~ service_name ~ ".log" } %}
{{ supervisord_lib.supervisord_program(
proxysql_controller,
service_name, proxysql_dict) }}
{% do part_list.append(
proxysql_controller ~ "
-" ~ service_name) %}
{{ supervisord_lib.supervisord_program(service_name, proxysql_dict) }}
{% do part_list.append(
"supervisord
-" ~ service_name) %}
{% do part_list.append('config-' ~ name) -%}
{% do cluster_list.append("{'name': '" ~ name ~ "', 'host': '" ~ ipv4 ~ "', 'port': '${" ~ name ~ "-cluster-parameter:proxy-admin-port}'}") -%}
...
...
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