uyuni-project / sumaform

Terraform configuration to quickly set up SUSE Manager/Uyuni environments
BSD 3-Clause "New" or "Revised" License
72 stars 71 forks source link

Use devel client tools when applicable #717

Open mbologna opened 4 years ago

mbologna commented 4 years ago

Introduce a configuration parameter to allow the usage of devel client tools on top of the released/beta client tools (devel tools must have higher priority than regular client tools) in automated/testing deployments.

Via Salt in sumaform:

juliogonzalez commented 4 years ago

devel tools must have higher priority than regular client tools

Good point!

This could be a problem ATM. Do we allow vendor change at Uyuni/SUSE Manager? Because SUSE is the vendor for Releaded and Beta client tools, while IBS Devel:Galaxy is the vendor for the Devel client tools.

NOTE: That's only when sumaform deploys SUSE Manager. For Uyuni both Devel and Stable client tools have the same provider.

mbologna commented 4 years ago

This could be a problem ATM. Do we allow vendor change at Uyuni/SUSE Manager? Because SUSE is the vendor for Releaded and Beta client tools, while IBS Devel:Galaxy is the vendor for the Devel client tools.

Yes, we allow equivalent vendors that include SUSE (only for SUSE Manager), OpenSUSE, and Devel:Galaxy :

https://github.com/uyuni-project/sumaform/blob/master/salt/repos/default.sls#L325-L340

juliogonzalez commented 4 years ago

Good to know.

Then we don't really need to worry about <version.release>, at least for SLE and RES/RHEL/CentOS/Oracle.

The Head projects for such clients have:

Release: 401.<CI_CNT>.<B_CNT>.develHead

And at 4.0:

Release: 400.<CI_CNT>.<B_CNT>.devel40

So release should always be greater, even when version is the same.

Ubuntu could be another story, however. We don't have this, and I don't know if it will work. I will try tomorrow.