From: Dimitri Savineau Date: Fri, 5 Aug 2016 15:17:23 +0000 (-0400) Subject: xinetd: bind only on mysql network X-Git-Tag: opnfv-6.0.0~337^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=95fbe9289b0286aa315f78827b21d2374f600850;p=apex-puppet-tripleo.git xinetd: bind only on mysql network By default galera-monitor xinetd is binding on all the interfaces. That means that the port 9200 is exposed on the external network. Because haproxy is using the same network for the backend and the check we can reuse it for the xinetd binding. Change-Id: If1a50515593e81f46d67309bdeecbe84c1d0ebe4 --- diff --git a/manifests/profile/pacemaker/database/mysql.pp b/manifests/profile/pacemaker/database/mysql.pp index edd09bd..e5882e7 100644 --- a/manifests/profile/pacemaker/database/mysql.pp +++ b/manifests/profile/pacemaker/database/mysql.pp @@ -161,6 +161,7 @@ class tripleo::profile::pacemaker::database::mysql ( unless => '/bin/test -e /etc/sysconfig/clustercheck && grep -q clustercheck /etc/sysconfig/clustercheck', } xinetd::service { 'galera-monitor' : + bind => hiera('mysql_bind_host'), port => '9200', server => '/usr/bin/clustercheck', per_source => 'UNLIMITED',