In-house patch to add support for Solaris 11.3 and 12.0. This patch
has not yet been submitted upstream due to requirements for 3rd party
CI testing.
--- openstack-glance-8.0.1/manifests/params.pp.orig 2016-05-06 08:03:31.669873231 -0700
+++ openstack-glance-8.0.1/manifests/params.pp 2016-05-06 08:06:03.214534543 -0700
@@ -1,14 +1,16 @@
+#######################################################################
+# Oracle has modified the originally distributed contents of this file.
+#######################################################################
+
# these parameters need to be accessed from several locations and
# should be considered to be constant
class glance::params {
- $client_package_name = 'python-glanceclient'
-
- $cache_cleaner_command = 'glance-cache-cleaner'
- $cache_pruner_command = 'glance-cache-pruner'
-
case $::osfamily {
'RedHat': {
+ $client_package_name = 'python-glanceclient'
+ $cache_cleaner_command = 'glance-cache-cleaner'
+ $cache_pruner_command = 'glance-cache-pruner'
$api_package_name = 'openstack-glance'
$glare_package_name = 'openstack-glance'
$registry_package_name = 'openstack-glance'
@@ -24,6 +26,9 @@ class glance::params {
$pymysql_package_name = undef
}
'Debian': {
+ $client_package_name = 'python-glanceclient'
+ $cache_cleaner_command = 'glance-cache-cleaner'
+ $cache_pruner_command = 'glance-cache-pruner'
$api_package_name = 'glance-api'
$glare_package_name = 'glance-glare'
$registry_package_name = 'glance-registry'
@@ -34,6 +39,20 @@ class glance::params {
$sqlite_package_name = 'python-pysqlite2'
$pymysql_package_name = 'python-pymysql'
}
+ 'Solaris': {
+ $client_package_name = 'library/python/glanceclient'
+ $cache_cleaner_command = '/usr/lib/glance/glance-cache-cleaner'
+ $cache_pruner_command = '/usr/lib/glance/glance-cache-pruner'
+ $api_package_name = 'cloud/openstack/glance'
+ $glare_package_name = undef
+ $registry_package_name = 'cloud/openstack/glance'
+ $api_service_name = 'application/openstack/glance/glance-api'
+ $glare_service_name = undef
+ $registry_service_name = 'application/openstack/glance/glance-registry'
+ $pyceph_package_name = undef
+ $sqlite_package_name = undef
+ $pymysql_package_name = undef
+ }
default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, module ${module_name} only support osfamily RedHat and Debian")
}