OpenStack Ceilometer Puppet Module
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
puppet-ceilometer/manifests/db/sync.pp

22 lines
618 B

#
# Class to execute ceilometer dbsync
#
class ceilometer::db::sync {
include ::ceilometer::params
Package<| tag == 'ceilometer-package' |> ~> Exec['ceilometer-dbsync']
Exec['ceilometer-dbsync'] ~> Service <| tag == 'ceilometer-service' |>
Ceilometer_config<||> -> Exec['ceilometer-dbsync']
Ceilometer_config<| title == 'database/connection' |> ~> Exec['ceilometer-dbsync']
exec { 'ceilometer-dbsync':
command => $::ceilometer::params::dbsync_command,
path => '/usr/bin',
user => $::ceilometer::params::user,
refreshonly => true,
logoutput => on_failure,
}
}