puppet-pacemaker/examples/pacemaker/setup.pp
Dmitry Ilyin 4d2e554f68 Merge with fuel-infra/puppet-pacemaker
* Import all providers, specs and tests to this module
* Use corosync module to actually install paceamker

Fuel-CI: disable
Change-Id: I9a16ad1453b694aa0a3e78d079f9c57365a5fcf1
2016-05-25 11:22:22 +02:00

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']