Skip to content

Commit

Permalink
feat(ca_certs): Add AlmaLinux OS and CloudLinux OS support (#5264)
Browse files Browse the repository at this point in the history
AlmaLinux OS is binary compatible with RHEL
and CloudLinux OS based on AlmaLinux OS.
So, let's use distro-specific configurations from rhel.

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
  • Loading branch information
LKHN authored May 9, 2024
1 parent d5254aa commit 9388cc1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cloudinit/config/cc_ca_certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
):
DISTRO_OVERRIDES[distro] = DISTRO_OVERRIDES["opensuse"]

for distro in (
"almalinux",
"cloudlinux",
):
DISTRO_OVERRIDES[distro] = DISTRO_OVERRIDES["rhel"]

MODULE_DESCRIPTION = """\
This module adds CA certificates to the system's CA store and updates any
related files using the appropriate OS-specific utility. The default CA
Expand All @@ -79,6 +85,8 @@
order to provide the ``update-ca-certificates`` command.
"""
distros = [
"almalinux",
"cloudlinux",
"alpine",
"debian",
"fedora",
Expand Down

0 comments on commit 9388cc1

Please sign in to comment.