components/ruby/puppet-modules/openstack-glance/patches/04-registry.patch
author Patrick Einheber <patrick.einheber@oracle.com>
Wed, 27 Apr 2016 14:55:10 -0700
changeset 5860 afd31ba91ee9
parent 5464 6e2e17e6aa45
permissions -rw-r--r--
23146903 Puppet and OpenStack modules need modification notices

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-6.1.0/manifests/registry.pp.orig	2016-04-21 07:52:19.885897917 -0700
+++ openstack-glance-6.1.0/manifests/registry.pp	2016-04-21 07:52:49.376252569 -0700
@@ -1,3 +1,7 @@
+#######################################################################
+# Oracle has modified the originally distributed contents of this file.
+#######################################################################
+
 # == Class: glance::registry
 #
 # Installs and configures glance-registry
@@ -171,7 +175,6 @@
     )
   }
 
-  Package[$glance::params::registry_package_name] -> File['/etc/glance/']
   Package[$glance::params::registry_package_name] -> Glance_registry_config<||>
 
   Glance_registry_config<||> ~> Exec<| title == 'glance-manage db_sync' |>
@@ -179,9 +182,6 @@
 
   File {
     ensure  => present,
-    owner   => 'glance',
-    group   => 'glance',
-    mode    => '0640',
     notify  => Service['glance-registry'],
     require => Class['glance']
   }