|
26 | 26 | # [*use_single_acl*] |
27 | 27 | # Bool if true: only one acl directory must be specified. |
28 | 28 | # If false: for each subdomain on acl. Default true. |
| 29 | +# [*domain_challenge_check_type*] |
| 30 | +# Protocol to use for the challenge (http or https). Defaults to http. |
29 | 31 | # [*sub_domains*] |
30 | 32 | # Array with all subdomains for specified certificate. Defaults to empty Array. |
31 | 33 | # [*domain_private_key_alg*] |
|
74 | 76 | $domain = $name, |
75 | 77 | $acl = $getssl::params::acl, |
76 | 78 | $use_single_acl = $getssl::params::use_single_acl, |
| 79 | + $domain_challenge_check_type = $getssl::params::domain_challenge_check_type, |
77 | 80 | $sub_domains = $getssl::params::sub_domains, |
78 | 81 | $domain_private_key_alg = $getssl::params::domain_private_key_alg, |
79 | 82 | $domain_account_key_length = $getssl::params::domain_account_key_length, |
|
97 | 100 | validate_integer($domain_renew_allow) |
98 | 101 | validate_bool($domain_check_remote, $use_single_acl) |
99 | 102 |
|
| 103 | + if $domain_challenge_check_type { |
| 104 | + validate_string($domain_challenge_check_type) |
| 105 | + } |
| 106 | + |
100 | 107 | if $ca_cert_location { |
101 | 108 | validate_string($ca_cert_location) |
102 | 109 | } |
|
192 | 199 | 'domain_renew_allow' => $domain_renew_allow, |
193 | 200 | 'domain_server_type' => $domain_server_type, |
194 | 201 | 'sub_domains' => $sub_domains, |
195 | | - 'use_single_acl' => $use_single_acl |
| 202 | + 'use_single_acl' => $use_single_acl, |
| 203 | + 'domain_challenge_check_type' => $domain_challenge_check_type |
196 | 204 | }), |
197 | 205 | notify => $config_notifiers, |
198 | 206 | } |
|
0 commit comments