fuel-library/deployment/puppet/ceilometer_ha/manifests/agent/central.pp
dtrishkin 8daf024982 Start ceilometer resource agents
* Ceilometer agent central and ceilometer alarm evaluator
   now start as resource agents of pacemaker;
 * Disable upstart for this two services.

Change-Id: Ic15a3bfb6238e4281b06aae0a3f9fe4abf96590d
Closes-bug: #1418984
Closes-bug: #1422403
2015-02-18 16:30:59 +00:00

20 lines
613 B
Puppet

class ceilometer_ha::agent::central inherits ceilometer::agent::central {
pacemaker_wrappers::service { $::ceilometer::params::agent_central_service_name :
primitive_type => 'ceilometer-agent-central',
metadata => { 'resource-stickiness' => '1' },
parameters => { 'user' => 'ceilometer' },
operations => {
'monitor' => {
'interval' => '20',
'timeout' => '30',
},
'start' => {
'timeout' => '360',
},
'stop' => {
'timeout' => '360',
},
},
ocf_script_file => 'cluster/ocf/ceilometer-agent-central',
}
}