diff options
author | Andrew Plunk <andrew.plunk@rackspace.com> | 2013-10-21 16:12:54 -0700 |
---|---|---|
committer | Andrew Plunk <andrew.plunk@rackspace.com> | 2013-10-23 09:39:36 -0700 |
commit | 8ce5e0f88edecd3ab1d58136ebfac7543938d80f (patch) | |
tree | 6939c26cc4c9614fba84b912e4c5664aa123b412 /etc/heat/heat.conf.sample | |
parent | 4382fbe868bd60b9fa710ac4e29512858af947e8 (diff) | |
download | heat-8ce5e0f88edecd3ab1d58136ebfac7543938d80f.tar.gz |
Allow plugins to be specified as a cloud_backend
Currently, the cloud_backend configuration option can only use modules
imported in-tree before clients.py is imported. This does not work for
plugins because they are dynamically imported in
heat/engine/resources/__init__.py after clients.py is imported. Change
the cloud_backend module to be specified when the client class needs
to be initialized rather than when clients.py is imported. This change
requires a class to be specified for the cloud_backend rather than a
module name.
Change-Id: I8f2b93bfb6a9585d1e7dc52d70092105b6e1bfaa
Closes-Bug: 1242870
Diffstat (limited to 'etc/heat/heat.conf.sample')
-rw-r--r-- | etc/heat/heat.conf.sample | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/heat/heat.conf.sample b/etc/heat/heat.conf.sample index d7e9f24c7..6ecc493e7 100644 --- a/etc/heat/heat.conf.sample +++ b/etc/heat/heat.conf.sample @@ -107,9 +107,9 @@ # Options defined in heat.engine.clients # -# Cloud module to use as a backend. Defaults to OpenStack. +# Fully qualified class name to use as a client backend. # (string value) -#cloud_backend=<None> +#cloud_backend=heat.engine.clients.OpenStackClients # |