25 lines
751 B
Plaintext
25 lines
751 B
Plaintext
# Managed by puppet
|
|
# Module cloud
|
|
#
|
|
# default: on
|
|
# description: mysqlchk
|
|
service mysqlchk
|
|
{
|
|
# this is a config for xinetd, place it in /etc/xinetd.d/
|
|
disable = no
|
|
flags = REUSE
|
|
socket_type = stream
|
|
port = 9200
|
|
wait = no
|
|
user = nobody
|
|
server = /usr/bin/clustercheck
|
|
log_on_failure += USERID
|
|
log_on_success =
|
|
#FIXME(sbadia) Security: Restrict this parameter to HAProxy pool.
|
|
only_from = 0.0.0.0/0
|
|
bind = <%= @galera_clustercheck_ipaddress %>
|
|
# recommended to put the IPs that need
|
|
# to connect exclusively (security purposes)
|
|
per_source = UNLIMITED
|
|
}
|