Merge "Fixes agent_notification_service_name"
This commit is contained in:
commit
c2f41fb1eb
@ -23,11 +23,12 @@ class ceilometer::params {
|
||||
$agent_compute_service_name = 'openstack-ceilometer-compute'
|
||||
$api_service_name = 'openstack-ceilometer-api'
|
||||
$collector_service_name = 'openstack-ceilometer-collector'
|
||||
$agent_notification_service_name = 'openstack-ceilometer-agent-notification'
|
||||
$alarm_notifier_service_name = 'openstack-ceilometer-alarm-notifier'
|
||||
$alarm_evaluator_service_name = 'openstack-ceilometer-alarm-evaluator'
|
||||
$pymongo_package_name = 'python-pymongo'
|
||||
$psycopg_package_name = 'python-psycopg2'
|
||||
$agent_notification_service_name = 'openstack-ceilometer-notification'
|
||||
|
||||
# db packages
|
||||
if $::operatingsystem == 'Fedora' and $::operatingsystemrelease >= 18 {
|
||||
# fallback to stdlib version, not provided on fedora
|
||||
|
@ -76,7 +76,55 @@ describe 'ceilometer::agent::notification' do
|
||||
|
||||
let :platform_params do
|
||||
{ :agent_notification_package_name => 'openstack-ceilometer-collector',
|
||||
:agent_notification_service_name => 'openstack-ceilometer-agent-notification' }
|
||||
:agent_notification_service_name => 'openstack-ceilometer-notification' }
|
||||
end
|
||||
|
||||
it_configures 'ceilometer-agent-notification'
|
||||
end
|
||||
|
||||
context 'on RHEL 7' do
|
||||
let :facts do
|
||||
{ :osfamily => 'RedHat',
|
||||
:operatingsystem => 'RedHat',
|
||||
:operatingsystemrelease => 7
|
||||
}
|
||||
end
|
||||
|
||||
let :platform_params do
|
||||
{ :agent_notification_package_name => 'openstack-ceilometer-collector',
|
||||
:agent_notification_service_name => 'openstack-ceilometer-notification' }
|
||||
end
|
||||
|
||||
it_configures 'ceilometer-agent-notification'
|
||||
end
|
||||
|
||||
context 'on CentOS 7' do
|
||||
let :facts do
|
||||
{ :osfamily => 'RedHat',
|
||||
:operatingsystem => 'CentOS',
|
||||
:operatingsystemrelease => 7
|
||||
}
|
||||
end
|
||||
|
||||
let :platform_params do
|
||||
{ :agent_notification_package_name => 'openstack-ceilometer-collector',
|
||||
:agent_notification_service_name => 'openstack-ceilometer-notification' }
|
||||
end
|
||||
|
||||
it_configures 'ceilometer-agent-notification'
|
||||
end
|
||||
|
||||
context 'on Fedora 20' do
|
||||
let :facts do
|
||||
{ :osfamily => 'RedHat',
|
||||
:operatingsystem => 'Fedora',
|
||||
:operatingsystemrelease => 20
|
||||
}
|
||||
end
|
||||
|
||||
let :platform_params do
|
||||
{ :agent_notification_package_name => 'openstack-ceilometer-collector',
|
||||
:agent_notification_service_name => 'openstack-ceilometer-notification' }
|
||||
end
|
||||
|
||||
it_configures 'ceilometer-agent-notification'
|
||||
|
Loading…
x
Reference in New Issue
Block a user