summaryrefslogtreecommitdiffstats
path: root/templates/database/mysqlchk.erb
blob: f9fea1d01c62f953c61cfdabceecaba85cd2554d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Managed by puppet
#
# 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
}