53d2b7eeb6
The actually glance executable is not installed as a part of the python-glance package, it is installed in the python-glanceclient pakcage. Going through the RDO packages, I do not even see a package called python-glance. Change-Id: I35c71fc5da595a695b10cb2ecc5ad27f5131bac8
26 lines
861 B
Puppet
26 lines
861 B
Puppet
# these parameters need to be accessed from several locations and
|
|
# should be considered to be constant
|
|
class glance::params {
|
|
|
|
$client_package_name = 'python-glanceclient'
|
|
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$package_name = 'openstack-glance'
|
|
$api_service_name = 'openstack-glance-api'
|
|
$registry_service_name = 'openstack-glance-registry'
|
|
$db_sync_command = 'glance-manage db_sync'
|
|
}
|
|
'Debian': {
|
|
$package_name = 'glance'
|
|
$api_service_name = 'glance-api'
|
|
$registry_service_name = 'glance-registry'
|
|
$db_sync_command = 'glance-manage version_control 0 && glance-manage db_sync'
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, module ${module_name} only support osfamily RedHat and Debian")
|
|
}
|
|
}
|
|
|
|
}
|