Defined Type: wildfly::web::ssl

Defined in:
manifests/web/ssl.pp

Overview

Parameters:

  • connector (Any)
  • password (Any)
  • protocol (Any)
  • cipher_suite (Any)
  • key_alias (Any)
  • certificate_key_file (Any)
  • ca_certificate_file (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/web/ssl.pp', line 1

define wildfly::web::ssl(
  $connector,
  $password,
  $protocol,
  $cipher_suite,
  $key_alias,
  $certificate_key_file,
  $ca_certificate_file = undef) {

  $params = {
    'name' => $title,
    'password' => $password,
    'protocol' => $protocol,
    'cipher-suite' => $cipher_suite,
    'key-alias' => $key_alias,
    'certificate-key-file' => $certificate_key_file,
    'ca-certificate-file' => $ca_certificate_file,
  }

  wildfly::resource { "/subsystem=web/connector=${connector}/ssl=configuration":
    content => $params
  }

}