Skip to content

Commit

Permalink
Update install_smartcard_packages for RHEL10
Browse files Browse the repository at this point in the history
The pkcs11-provider is the correct name for RHEL 10.
  • Loading branch information
Mab879 committed Oct 2, 2024
1 parent b9ce186 commit d762270
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
{{% set smartcard_packages = ['pam_pkcs11'] %}}
{{% elif 'ubuntu' in product %}}
{{% set smartcard_packages = ['libpam-pkcs11'] %}}
{{% elif product in ['rhel10'] %}}
{{% set smartcard_package = ['pkcs11-provider'] %}}
{{% else %}}
{{% set smartcard_packages = ['openssl-pkcs11'] %}}
{{% endif %}}
Expand Down Expand Up @@ -73,6 +75,7 @@ template:
vars:
pkgname: openssl-pkcs11
pkgname@ol7: pam_pkcs11
pkgname@rhel10: pkcs11-provider
pkgname@ubuntu1604: libpam-pkcs11
pkgname@ubuntu1804: libpam-pkcs11
pkgname@ubuntu2004: libpam-pkcs11
Expand Down

0 comments on commit d762270

Please sign in to comment.