Ports configuration refactoring
Ports configuration has been changed: before: port: 123:3333 after: port: cont: 123 node: 3333 Change-Id: I6dbc1a576356eb175f6e8d1d1c7b13cd13e05f35 Depends-On: I54ab8dd02fc88b821a1f0d05c08f98b618730150
This commit is contained in:
parent
df51b97a48
commit
b957bc5b33
|
@ -3,4 +3,5 @@ configs:
|
||||||
max_timeout: 60
|
max_timeout: 60
|
||||||
root_password: password
|
root_password: password
|
||||||
mariadb:
|
mariadb:
|
||||||
port: 3306
|
port:
|
||||||
|
cont: 3306
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[mysqld]
|
[mysqld]
|
||||||
bind-address = {{ network_topology["private"]["address"] }}
|
bind-address = {{ network_topology["private"]["address"] }}
|
||||||
port = {{ mariadb.port }}
|
port = {{ mariadb.port.cont }}
|
||||||
|
|
||||||
datadir=/var/lib/mysql/
|
datadir=/var/lib/mysql/
|
||||||
log-error=/var/log/ccp/mysql/mysql.log
|
log-error=/var/log/ccp/mysql/mysql.log
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
test -f /tmp/mariadb_ok && nc -z {{ network_topology["private"]["address"] }} {{ mariadb.port }}
|
test -f /tmp/mariadb_ok && nc -z {{ network_topology["private"]["address"] }} {{ mariadb.port.cont }}
|
||||||
|
|
Loading…
Reference in New Issue