Skip to content

Commit

Permalink
Add nssdb files for EL8
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Feb 21, 2019
1 parent 7d07cac commit 8cb2cce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion manifests/ssltools/nssdb.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
Exec { logoutput => 'on_failure' }

$nss_db_password_file = "${nss_db_dir}/nss_db_password-file"
$nssdb_files = ["${nss_db_dir}/cert8.db", "${nss_db_dir}/key3.db", "${nss_db_dir}/secmod.db"]

$nssdb_files = $facts['operatingsystemmajrelease'] ? {
'7' => ["${nss_db_dir}/cert8.db", "${nss_db_dir}/key3.db", "${nss_db_dir}/secmod.db"],
default => ["${nss_db_dir}/cert9.db", "${nss_db_dir}/key4.db", "${nss_db_dir}/pkcs11.txt"]
}

ensure_packages(['openssl', 'nss-tools'])

Expand Down

0 comments on commit 8cb2cce

Please sign in to comment.