components/ruby/puppet-modules/openstack-keystone/patches/04-client.patch
author Drew Fisher <drew.fisher@oracle.com>
Tue, 16 Feb 2016 13:47:43 -0800
changeset 5464 6e2e17e6aa45
child 5860 afd31ba91ee9
permissions -rw-r--r--
PSARC/2016/001 OpenStack Puppet Modules 22491714 Request to integrate OpenStack Puppet modules

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-keystone-6.1.0/manifests/client.pp.orig	2015-11-02 08:01:00.540540751 -0800
+++ openstack-keystone-6.1.0/manifests/client.pp	2015-11-02 08:05:26.947491915 -0800
@@ -12,8 +12,15 @@ class keystone::client (
   $ensure = 'present'
 ) {
 
-  package { 'python-keystoneclient':
-    ensure => $ensure,
-    tag    => 'openstack',
+  if $::osfamily == 'Solaris' {
+    package { 'library/python/keystoneclient':
+      ensure => $ensure,
+      tag    => 'openstack',
+    }
+  } else {
+    package { 'python-keystoneclient':
+      ensure => $ensure,
+      tag    => 'openstack',
+    }
   }
 }