uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
416 stars 174 forks source link

Automate Upgrade of SALT Client App on Uyuni Clients #7534

Open Zayan1221 opened 10 months ago

Zayan1221 commented 10 months ago

Question

How can we Automate Upgrade of SALT Client Application on Uyuni Clients

What do you want to know about Uyuni? The steps

Version of Uyuni Server and Proxy (if used)

We use openSUSE Leap 15.4

zypper info Uyuni-Server-release and zypper info Uyuni-Proxy-release (if used)

uyunisuse:~ # zypper info Uyuni-Server-release Retrieving repository 'OpenSUSE15 x64 base' metadata ...............................................................................................................................................[done] Building repository 'OpenSUSE15 x64 base' cache ....................................................................................................................................................[done] Loading repository data... Warning: Repository 'Update repository of openSUSE Backports' appears to be outdated. Consider using a different mirror or server. Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Reading installed packages...

Information for package Uyuni-Server-release:

Repository : Uyuni Server Stable Name : Uyuni-Server-release Version : 2023.04-220400.204.2.uyuni2 Arch : x86_64 Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni Support Level : Level 3 Installed Size : 1.4 KiB Installed : Yes Status : out-of-date (version 2022.06-183.9.uyuni2 installed) Source package : Uyuni-Server-release-2023.04-220400.204.2.uyuni2.src Summary : Uyuni Server Description : Uyuni lets you efficiently manage physical, virtual, and cloud-based Linux systems. It provides automated and cost-effective configuration and software management, asset management, and system provisioning.

Zayan1221 commented 10 months ago

SALT Master running on Uyuni server requires specific versions of SALT Client app to run on the Uyuni clients. Need script(s) to install the desired version of SALT Client app on each Uyuni client, without the need to sign-on to each machine and perform the steps manually, as done in the past