Skip to content

Commit

Permalink
Ensure the correct tools are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl authored and ehelms committed Sep 19, 2017
1 parent b98f9ed commit 5f45219
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/ssltools/nssdb.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
$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"]

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

file { $nss_db_dir:
ensure => directory,
owner => 'root',
Expand All @@ -20,6 +22,7 @@
umask => '0027',
group => $group,
creates => $nss_db_password_file,
require => Package['openssl'],
} ->
file { $nss_db_password_file:
ensure => file,
Expand All @@ -33,6 +36,7 @@
umask => '0027',
group => $group,
creates => $nssdb_files,
require => Package['nss-tools'],
} ->
file { $nssdb_files:
owner => 'root',
Expand Down

0 comments on commit 5f45219

Please sign in to comment.