Use the proper parameter to set --master
The interface for pcmk_resource offers the parameter master_params to set --master during the resource creation. Change-Id: I6fa769f14a6248b371810af3ba6819a1f9ed9442
This commit is contained in:
parent
2c73a7b6ac
commit
a5b7b85cf8
|
@ -202,7 +202,8 @@ if hiera('step') >= 2 {
|
|||
|
||||
pacemaker::resource::ocf { 'galera' :
|
||||
ocf_agent_name => 'heartbeat:galera',
|
||||
op_params => 'promote timeout=300s on-fail=block --master',
|
||||
op_params => 'promote timeout=300s on-fail=block',
|
||||
master_params => '',
|
||||
meta_params => "master-max=${galera_nodes_count} ordered=true",
|
||||
resource_params => "additional_parameters='--open-files-limit=16384' enable_creation=true wsrep_cluster_address='gcomm://${galera_nodes}'",
|
||||
require => Class['::mysql::server'],
|
||||
|
|
Loading…
Reference in New Issue