
1) Already have the cloudkitty package in RedHat system, so we can add the acceptance test to deploy the service now. 2) Add auth_section and keystone_version in group "keystone_fetcher" to load plugin specific options and use specific keystone version. 3) Change the collector valume to 'ceilometer' by default 4) Update releated to test. Change-Id: Ic2f8fafba1664273d89bd706768416da4d9b93e1
34 lines
914 B
Puppet
34 lines
914 B
Puppet
#
|
|
# Class to execute cloudkitty-storage-init
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*extra_params*]
|
|
# (optional) String of extra command line parameters to append
|
|
# to the cloudkitty-storage-init command.
|
|
# Defaults to '--config-file /etc/cloudkitty/cloudkitty.conf'
|
|
#
|
|
class cloudkitty::storage(
|
|
$extra_params = '--config-file /etc/cloudkitty/cloudkitty.conf',
|
|
){
|
|
|
|
include ::cloudkitty::deps
|
|
|
|
exec { 'cloudkitty-storage-init':
|
|
command => "cloudkitty-storage-init ${extra_params}",
|
|
path => '/usr/bin',
|
|
user => 'cloudkitty',
|
|
refreshonly => true,
|
|
try_sleep => 5,
|
|
tries => 10,
|
|
logoutput => on_failure,
|
|
subscribe => [
|
|
Anchor['cloudkitty::install::end'],
|
|
Anchor['cloudkitty::config::end'],
|
|
Anchor['cloudkitty::dbsync::end'],
|
|
Anchor['cloudkitty::storageinit::begin']
|
|
],
|
|
notify => Anchor['cloudkitty::storageinit::end'],
|
|
}
|
|
}
|