[openstack-dev] [heat] resource_registry base_url
Steve Baker
sbaker at redhat.com
Thu Oct 22 23:08:19 UTC 2015
On 23/10/15 09:35, Jay Dobies wrote:
> In looking through the environment file loading code, I keep seeing a
> check for base_url in the resource registry. It looks like a way to
> have the registry entries only be the filenames (I suppose relative
> filenames work as well) instead of having to enter the full path every
> time. The base_url would be used as the root URL for those filenames
> when loading them.
>
> Thing is, I can't find any reference to that in the docs. I did a
> search for resource_registry, but the only thing I can find is [1]
> which doesn't talk about base_url.
>
> Is this something that's still supported or was it "turned off" (so to
> speak) by removing the docs about it so users didn't know to use it?
> Is the syntax to just sit it side by side with the resource
> definitions, similar to:
>
> resource_registry:
> "base_url": /home/jdob/my_templates
> "OS::Nova::Server": my_nova.yaml
>
> Or am I just totally missing where in the docs it's talked about
> (which is also terribly possible)?
>
> [1]
> http://docs.openstack.org/developer/heat/template_guide/environment.html?highlight=resource_registry
>
> Thanks :)
I'm not sure, since I've never used an explicit base_url. I just put the
environment file which defines the resource_registry in the same
directory as my_nova.yaml and the relative paths will resolve. Is that
an option for you?
More information about the OpenStack-dev
mailing list