[openstack-dev] [TripleO] config options, defaults, oh my!

Robert Collins robertc at robertcollins.net
Wed Apr 9 21:29:27 UTC 2014


On 10 April 2014 08:33, Clint Byrum <clint at fewbar.com> wrote:

>
> This is exactly what we're doing. We're just suggesting exposing
> variations in the Heat templates, rather than in the elements. It is worth
> noting that Heat has grown the ability to grab a local file and inject
> it into your template at runtime. I think it would actually make sense
> to have os-apply-config enhanced to be able to override whole template
> files based on something like this:
>
>     resources:
>       server1:
>         metadata:
>           template_overrides:
>             "/etc/nova/nova.conf":
>               get_file [ "my_special_nova.conf.template" ]
>
> In that, we achieve what you want, but we can do so without rebuilding
> the whole image.

This makes me a little nervous: its much easier to break
os-collect-config by forcing os-apply-config to break hard this way,
than through bad metadata. I think I'm ok with the sentiment, but
nervous about impl.

-Rob


-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the OpenStack-dev mailing list