f06977a027
* Move Fuel fork for corosync as pacemaker module * cs_resource, cs_rsc_location now belong to Pacemaker class and provider * Sync puppetlabs-corosync v0.7.0 08c1fd87e57baaa60e57693a15f0329c76603291 * Add corosync1,2 tempates as is for corosync module (TODO merge them to generic upstream corosync templates and contribute) Fuel-ci: disable related blueprint corosync-2 Change-Id: I1f2238e758b93ef28f440fabea2ddea44c6acea7 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
66 lines
1.4 KiB
Puppet
66 lines
1.4 KiB
Puppet
cs_property { 'expected-quorum-votes':
|
|
ensure => present,
|
|
value => '2',
|
|
} ->
|
|
cs_property { 'no-quorum-policy':
|
|
ensure => present,
|
|
value => 'ignore',
|
|
} ->
|
|
cs_property { 'stonith-enabled':
|
|
ensure => present,
|
|
value => false,
|
|
} ->
|
|
cs_property { 'placement-strategy':
|
|
ensure => absent,
|
|
value => 'default',
|
|
} ->
|
|
cs_primitive { 'bar':
|
|
ensure => present,
|
|
primitive_class => 'ocf',
|
|
provided_by => 'pacemaker',
|
|
primitive_type => 'Dummy',
|
|
operations => {
|
|
'monitor' => {
|
|
'interval' => '20'
|
|
}
|
|
},
|
|
} ->
|
|
cs_primitive { 'blort':
|
|
ensure => present,
|
|
primitive_class => 'ocf',
|
|
provided_by => 'pacemaker',
|
|
primitive_type => 'Dummy',
|
|
promotable => true,
|
|
operations => {
|
|
'monitor' => {
|
|
'interval' => '20'
|
|
},
|
|
'start' => {
|
|
'interval' => '0',
|
|
'timeout' => '20'
|
|
}
|
|
},
|
|
} ->
|
|
cs_primitive { 'foo':
|
|
ensure => present,
|
|
primitive_class => 'ocf',
|
|
provided_by => 'pacemaker',
|
|
primitive_type => 'Dummy',
|
|
} ->
|
|
cs_colocation { 'foo-with-bar':
|
|
ensure => present,
|
|
primitives => [ 'foo', 'bar' ],
|
|
score => 'INFINITY',
|
|
} ->
|
|
cs_colocation { 'bar-with-blort':
|
|
ensure => present,
|
|
primitives => [ 'bar', 'ms_blort' ],
|
|
score => 'INFINITY',
|
|
} ->
|
|
cs_order { 'foo-before-bar':
|
|
ensure => present,
|
|
first => 'foo',
|
|
second => 'bar',
|
|
score => 'INFINITY',
|
|
}
|