mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Properly name the Fedora repo files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
4548b57365
commit
8beb86735d
1 changed files with 3 additions and 1 deletions
|
@ -475,8 +475,10 @@ def rpm(
|
|||
base_url += f"{distro}/{url_suffix}"
|
||||
if distro == "amazon":
|
||||
distro_name = "Amazon Linux"
|
||||
else:
|
||||
elif distro == "redhat":
|
||||
distro_name = "RHEL/CentOS"
|
||||
else:
|
||||
distro_name = distro.capitalize()
|
||||
|
||||
if int(distro_version) < 8:
|
||||
failovermethod = "\n failovermethod=priority\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue