4d2e554f68
* Import all providers, specs and tests to this module * Use corosync module to actually install paceamker Fuel-CI: disable Change-Id: I9a16ad1453b694aa0a3e78d079f9c57365a5fcf1
30 lines
504 B
Puppet
30 lines
504 B
Puppet
class properties {
|
|
|
|
pacemaker_property { 'stonith-enabled' :
|
|
ensure => 'present',
|
|
value => false,
|
|
}
|
|
|
|
pacemaker_property { 'no-quorum-policy' :
|
|
ensure => 'present',
|
|
value => 'ignore',
|
|
}
|
|
|
|
}
|
|
|
|
include ::properties
|
|
|
|
class { '::pacemaker::new' :
|
|
cluster_nodes => ['node'],
|
|
cluster_password => 'hacluster',
|
|
|
|
# firewall is not needed on a signle node
|
|
firewall_corosync_manage => false,
|
|
firewall_pcsd_manage => false,
|
|
}
|
|
|
|
Class['pacemaker::new'] ->
|
|
Class['properties']
|
|
|
|
|