This commit remove duplicate mysql_password param. And standardize mysql_password (renamed to mysql_root_password), and clarify mysql_sys_maint param (renamed to mysql_sys_maint_password), a new param is now added (mysql_sys_maint_user). This commit also add a bind option to xinetd configuration file. (The default value is setup to ::ipaddress). And cleanup cluster configs to avoid namespaces collisions with corosync cluster. Update of params.pp is managed in openstack-puppet-ci.git
		
			
				
	
	
		
			24 lines
		
	
	
		
			725 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			725 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
 | 
						|
        #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
 | 
						|
}
 |