[openstack-dev] [heat] computed package names?

Steven Dake sdake at redhat.com
Wed Apr 16 11:15:52 UTC 2014


On 04/16/2014 02:53 AM, Thomas Spatzier wrote:
>> From: Zane Bitter <zbitter at redhat.com>
>> To: openstack-dev at lists.openstack.org
>> Date: 16/04/2014 00:46
>> Subject: Re: [openstack-dev] [heat] computed package names?
>>
>> On 15/04/14 17:59, Mike Spreitzer wrote:
>>> Clint Byrum <clint at 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.
>>>   >
>>>   > +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.
> IMO, it would be desirable to not have things like yum or apt appear in the
> template explicitly. For many packages it seems like at least the top level
> package names (not including distro specific versioning strings) are equal
> across distros so when specified in a template it should be possible for a
> software deployment hook (which can be distro specific) to figure out how
> to install the package.
The package names are different for different distros.  The most basic 
example is the web server (Debian is apache2, RPM is httpd). I'm not 
sure exactly how to rectify the fact that they are different with while 
keeping the top level metadata blob that describes which packages to 
install limited to one distro.

Regards
-steve

> Regards,
> Thomas
>
>> There is, I thought, one template that does actually support Ubuntu.
>> Stuff in the "F17" directory is there for a reason.
>>
>> - ZB
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list