Use platform_family instead of platform
As agreed on the mailing list: https://groups.google.com/forum/#!topic/opscode-chef-openstack/HEL3KqBQIUM This will allow the ibm_powerkvm platform to be recognized. Change-Id: Iebf2aad9f3b4649fb5c27d2fc93ee60c67e42737 Partially-Implements: blueprint add-ibm-powerkvm-enablement Implements: blueprint platform-family
This commit is contained in:
parent
0bc923e107
commit
5ab419e88a
|
@ -49,7 +49,7 @@ else
|
|||
default['openstack']['telemetry']['hypervisor_inspector'] = nil
|
||||
end
|
||||
|
||||
case platform
|
||||
case platform_family
|
||||
when 'suse' # :pragma-foodcritic: ~FC024 - won't fix this
|
||||
default['openstack']['telemetry']['platform'] = {
|
||||
'mysql_python_packages' => ['python-mysql'],
|
||||
|
@ -72,7 +72,7 @@ when 'suse' # :pragma-foodcritic: ~FC024 - won't fix this
|
|||
'collector_service' => 'openstack-ceilometer-collector'
|
||||
}
|
||||
|
||||
when 'fedora', 'redhat', 'centos'
|
||||
when 'fedora', 'rhel'
|
||||
default['openstack']['telemetry']['platform'] = {
|
||||
'mysql_python_packages' => ['MySQL-python'],
|
||||
'db2_python_packages' => ['python-ibm-db', 'python-ibm-db-sa'],
|
||||
|
@ -95,7 +95,7 @@ when 'fedora', 'redhat', 'centos'
|
|||
'collector_service' => 'openstack-ceilometer-collector'
|
||||
}
|
||||
|
||||
when 'ubuntu'
|
||||
when 'debian'
|
||||
default['openstack']['telemetry']['platform'] = {
|
||||
'mysql_python_packages' => ['python-mysqldb'],
|
||||
'postgresql_python_packages' => ['python-psycopg2'],
|
||||
|
|
Loading…
Reference in New Issue