components/openstack/heat/patches/07-heat-plugin-defaults.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 6850 f8d3bc724af7
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

In-house patch to remove /usr/lib64/heat, /usr/local/lib/heat, and
/usr/local/lib64/heat from the default list of plugin directories
searched by Heat. This patch is Solaris specific and not suitable for
upstream contribution.

--- heat-6.0.0/heat/common/config.py.~1~	2016-04-07 00:37:15.000000000 -0700
+++ heat-6.0.0/heat/common/config.py	2016-06-10 14:59:42.624070450 -0700
@@ -88,8 +88,7 @@ service_opts = [
 
 engine_opts = [
     cfg.ListOpt('plugin_dirs',
-                default=['/usr/lib64/heat', '/usr/lib/heat',
-                         '/usr/local/lib/heat', '/usr/local/lib64/heat'],
+                default=['/usr/lib/heat'],
                 help=_('List of directories to search for plug-ins.')),
     cfg.StrOpt('environment_dir',
                default='/etc/heat/environment.d',