components/ruby/puppet-modules/openstack-openstacklib/patches/02-openstackclient.patch
branchs11u3-sru
changeset 6035 c9748fcc32de
child 5860 afd31ba91ee9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/puppet-modules/openstack-openstacklib/patches/02-openstackclient.patch	Fri May 20 17:42:29 2016 -0400
@@ -0,0 +1,27 @@
+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-openstacklib-6.1.0/manifests/openstackclient.pp.orig	2015-06-05 16:06:39.223700269 -0600
++++ openstack-openstacklib-6.1.0/manifests/openstackclient.pp	2015-06-05 16:08:35.218161669 -0600
+@@ -10,9 +10,16 @@
+ #
+ class openstacklib::openstackclient(
+   $package_ensure = 'present',
+-){
+-  package { 'python-openstackclient':
+-    ensure => $package_ensure,
+-    tag    => 'openstack',
++) {
++  if $::osfamily == 'Solaris' {
++    package { 'library/python/openstackclient':
++      ensure => $package_ensure,
++      tag    => 'openstack',
++    }
++  } else {
++    package { 'python-openstackclient':
++      ensure => $package_ensure,
++      tag    => 'openstack',
++    }
+   }
+ }