diff options
author | Emilien Macchi <emilien.macchi@enovance.com> | 2015-02-02 13:18:35 -0500 |
---|---|---|
committer | Emilien Macchi <emilien.macchi@enovance.com> | 2015-02-02 15:15:57 -0500 |
commit | 6509561ab3ac08c26372d892e5937f85672bf14f (patch) | |
tree | ea4f3105ed30661a7ee22dc34e3612c5ad834203 /templates/database/mysqlchk.erb | |
parent | bbf683b11659c6a0ed4ceddce7d24f2e9d707846 (diff) |
First implementation of tripleo::database::mysql
Diffstat (limited to 'templates/database/mysqlchk.erb')
-rw-r--r-- | templates/database/mysqlchk.erb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/database/mysqlchk.erb b/templates/database/mysqlchk.erb new file mode 100644 index 0000000..f9fea1d --- /dev/null +++ b/templates/database/mysqlchk.erb @@ -0,0 +1,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 +} |