Merge "Remove compat codes for CentOS<=6"

This commit is contained in:
Zuul 2020-06-08 17:00:52 +00:00 committed by Gerrit Code Review
commit 49b729f283
1 changed files with 1 additions and 13 deletions

View File

@ -47,24 +47,12 @@ class cinder::params {
$tgt_service_name = 'tgtd'
$ceph_init_override = '/etc/sysconfig/openstack-cinder-volume'
$ceph_common_package_name = 'ceph-common'
$target_helper = 'lioadm'
$lio_package_name = 'targetcli'
$lock_path = '/var/lib/cinder/tmp'
$cinder_wsgi_script_path = '/var/www/cgi-bin/cinder'
$pywbem_package_name = 'pywbem'
case $::operatingsystem {
'RedHat', 'CentOS', 'Scientific', 'OracleLinux': {
if (versioncmp($::operatingsystemmajrelease, '7') >= 0) {
$target_helper = 'lioadm'
} else {
$target_helper = 'tgtadm'
}
}
default: {
$target_helper = 'lioadm'
}
}
} else {
fail("unsupported osfamily ${::osfamily}, currently Debian and Redhat are the only supported platforms")
}