On 10 April 2014 08:33, Clint Byrum <cl...@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 <rbtcoll...@hp.com> Distinguished Technologist HP Converged Cloud _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev