Skip to content

Commit

Permalink
Merge pull request #58 from ehelms/remove-validate-present
Browse files Browse the repository at this point in the history
Fixes #11755: Validate absolute path for custom certificates
  • Loading branch information
ehelms committed Sep 14, 2015
2 parents 354b9d9 + 6bdb653 commit 86fc44e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
) inherits certs::params {

if $server_cert {
validate_absolute_path($server_cert)
validate_absolute_path($server_cert_req)
validate_absolute_path($server_key)
validate_absolute_path($server_ca_cert)
validate_file_exists($server_cert, $server_cert_req, $server_key, $server_ca_cert)
}

Expand Down

0 comments on commit 86fc44e

Please sign in to comment.