components/ruby/puppet-modules/openstack-heat/patches/03-init.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 been submitted and is in new versions of this module.

--- openstack-heat-6.1.0/manifests/init.pp.orig	2016-04-21 08:04:30.412621338 -0700
+++ openstack-heat-6.1.0/manifests/init.pp	2016-04-21 08:05:31.892759394 -0700
@@ -1,3 +1,7 @@
+#######################################################################
+# Oracle has modified the originally distributed contents of this file.
+#######################################################################
+
 # == Class: heat
 #
 #  Heat base package & configuration
@@ -265,30 +269,12 @@
     require => Package['heat-common'],
   }
 
-  group { 'heat':
-    name    => 'heat',
-    require => Package['heat-common'],
-  }
-
-  user { 'heat':
-    name    => 'heat',
-    gid     => 'heat',
-    groups  => ['heat'],
-    system  => true,
-    require => Package['heat-common'],
-  }
-
   file { '/etc/heat/':
     ensure => directory,
-    owner  => 'heat',
-    group  => 'heat',
-    mode   => '0750',
   }
 
   file { '/etc/heat/heat.conf':
-    owner => 'heat',
-    group => 'heat',
-    mode  => '0640',
+    ensure => present,
   }
 
   package { 'heat-common':