components/ruby/puppet-modules/openstack-swift/patches/02-params.patch
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:35 -0700
changeset 6817 e4a26f447d0c
parent 5860 afd31ba91ee9
child 6916 7da0a841939c
permissions -rw-r--r--
24454308 update all openstack puppet modules to the latest mitaka release

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-swift-6.1.0/manifests/params.pp.orig	2016-04-21 08:33:03.312647988 -0700
+++ openstack-swift-6.1.0/manifests/params.pp	2016-04-21 08:33:26.608565136 -0700
@@ -1,3 +1,7 @@
+#######################################################################
+# Oracle has modified the originally distributed contents of this file.
+#######################################################################
+
 # == Class: swift::params
 #
 class swift::params {
@@ -58,6 +62,29 @@ class swift::params {
       $service_provider                  = undef
       $swift3                            = 'openstack-swift-plugin-swift3'
     }
+    'Solaris': {
+      $package_name                      = 'cloud/openstack/swift'
+      $client_package                    = 'library/python/swiftclient'
+      $proxy_package_name                = 'cloud/openstack/swift'
+      $proxy_service_name                = 'application/openstack/swift/swift-proxy-server:default'
+      $object_package_name               = 'cloud/openstack/swift'
+      $object_service_name               = 'application/openstack/swift/swift-object-server:default'
+      $object_auditor_service_name       = 'application/openstack/swift/swift-object-auditor:default'
+      $object_replicator_service_name    = 'application/openstack/swift/swift-object-replicator:default'
+      $object_updater_service_name       = 'application/openstack/swift/swift-object-updater:default'
+      $container_package_name            = 'cloud/openstack/swift'
+      $container_service_name            = 'application/openstack/swift/swift-container-server:default'
+      $container_auditor_service_name    = 'application/openstack/swift/swift-container-auditor:default'
+      $container_replicator_service_name = 'application/openstack/swift/swift-container-replicator:default'
+      $container_updater_service_name    = 'application/openstack/swift/swift-container-updater:default'
+      $account_package_name              = 'cloud/openstack/swift'
+      $account_service_name              = 'application/openstack/swift/swift-account-server:default'
+      $account_auditor_service_name      = 'application/openstack/swift/swift-account-auditor:default'
+      $account_reaper_service_name       = 'application/openstack/swift/swift-account-reaper:default'
+      $account_replicator_service_name   = 'application/openstack/swift/swift-account-replicator:default'
+      $service_provider                  = 'smf'
+      $swift3                            = undef
+    }
     default: {
         fail("Unsupported osfamily: ${::osfamily} for os ${::operatingsystem}")
     }