working
This commit is contained in:
Родитель
86669a0b3f
Коммит
3a085f5c14
|
@ -15,7 +15,7 @@ This module is to install the MySQL tool called Orchestrator via puppet. Orchest
|
|||
'SlaveLagQuery' => 'select lag from test.heartbeat_table',
|
||||
'DiscoverByShowSlaveHosts' => false,
|
||||
'DetectClusterAliasQuery' => 'select cluster_alias from test.cluster_info_table where 1=1',
|
||||
'DetectClusterDomainQuery' => "select cluster_domain from test.cluster_info_table where 1=1',
|
||||
'DetectClusterDomainQuery' => 'select cluster_domain from test.cluster_info_table where 1=1',
|
||||
'DataCenterPattern' => '.*-(.*)-.*[.].*[.]example[.]com',
|
||||
'PhysicalEnvironmentPattern' => '.*-.*-(.*)[.].*[.]example[.]com',
|
||||
'PseudoGTIDPattern' => '`heartbeat` (ts, server_id, file, position, relay_master_log_file, exec_master_log_pos) VALUES',
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#
|
||||
class orchestrator::my_cnf inherits orchestrator {
|
||||
$cnf_erb = 'orchestrator/orchestrator.cnf.erb'
|
||||
|
||||
file { $orchestrator::topology_cnf:
|
||||
content => template("puppet-orchestrator-for-mysql/${orchestrator::topology_cnf}.erb"),
|
||||
content => template($cnf_erb),
|
||||
mode => '0644',
|
||||
}
|
||||
file { $orchestrator::srv_cnf:
|
||||
content => template("puppet-orchestrator-for-mysql/${orchestrator::srv_cnf}.erb"),
|
||||
mode => '0644',
|
||||
content => template($cnf_erb),
|
||||
mode => '0644',
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,8 +10,8 @@ class orchestrator::params {
|
|||
$service_ensure = 'running'
|
||||
$service_manage = true
|
||||
$service_name = 'orchestrator'
|
||||
$srv_cnf = '/etc/mysql/orchestrator_srv.cnf'
|
||||
$topology_cnf = '/etc/mysql/orchestrator.cnf'
|
||||
$srv_cnf = '/etc/orchestrator_srv.cnf'
|
||||
$topology_cnf = '/etc/orchestrator.cnf'
|
||||
|
||||
$config_defaults = {
|
||||
'Debug' => true,
|
||||
|
|
Загрузка…
Ссылка в новой задаче