+1 on porting the templates. What I would suggest also is to restructure the heat-templates directory layout. Most of the templates are not so different between OS distros. Besides this, what the heat-templates project really helps is that the templates are the best teaching materials for new users. Having them stored in sub-directories named by the OS distro is confusing.
Maybe we can consider organize them like what we did for the test cases: - most templates are no more than demonstrating only one or two features; - a template may have a variant only when the changes needed for running on another OS distro are significant; - in template comments, the author is expected to record on which distros it has been tested; - there could be template groups that can be placed into a dedicated subdirectory -- the templates/scripts are supposed to be used together BTW, did I missed the conclusion from the 'heatr' discussion? Regards, Qiming On Wed, Apr 16, 2014 at 11:54:51AM +0200, Thomas Spatzier wrote: > > From: Steven Dake <sd...@redhat.com> > > To: "OpenStack Development Mailing List (not for usage questions)" > > <openstack-dev@lists.openstack.org> > > Date: 16/04/2014 01:43 > > Subject: Re: [openstack-dev] [heat] computed package names? > > > > On 04/15/2014 03:45 PM, Zane Bitter wrote: > > > On 15/04/14 17:59, Mike Spreitzer wrote: > > >> Clint Byrum <cl...@fewbar.com> wrote on 04/15/2014 05:17:21 PM: > > >> > Excerpts from Zane Bitter's message of 2014-04-15 13:32:30 -0700: > > >> > > > >> > > FWIW, in the short term I'm not aware of any issue with > installing > > >> > > mariadb in Fedora 17/18, provided that mysql is not installed > > >> first. And > > >> > > in fact they're both EOL anyway, so we should probably migrate > > >> all the > > >> > > templates to Fedora 20 and mariadb. > > >> > > > > > The last time I tried F17 images, the database installation step failed > > miserably because of problems in the base distribution. > > > > >> > +1 for that. > > >> > > >> I count 22 templates in heat-templates that are written to support > > >> Fedora, Ubuntu, and RHEL; is MariaDB available in those? I do not see > > >> it in Ubuntu 12.10, for example. > > > > > > I imagine it's a problem for RHEL (can RHEL 7 just get released > > > already?). Ubuntu is not an issue though, unless they have adopted yum > > > while I was not looking. > > > > > > Checking a random sample, they only includes "yum" and "systemd" > > > sections (no "apt" or "sysvinit") in the metadata, so the purported > > > support for Ubuntu 10.04 is just due to copy-paste and isn't actually > > > implemented. > > > > > > There is, I thought, one template that does actually support Ubuntu. > > > Stuff in the "F17" directory is there for a reason. > > > > > The only rational reason for having the F17 directory is because nobody > > has done the work of porting these templates to F20. That work needs to > > be done before we can remove the F17 directory permanently :) > > +1 on porting existing templates to current distros. And it would be even > better to start using some of the new features like software config. > I have actually started on a WordPress example that uses software config > and should be to post this for review soon. > > Regards, > Thomas > > > > > Regards, > > -steve > > > > > - ZB > > > _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev