|
28 | 28 | # @param url |
29 | 29 | # Full URL |
30 | 30 | # |
| 31 | +# @param username |
| 32 | +# Username for the URL |
| 33 | +# |
| 34 | +# @param password |
| 35 | +# Password for the URL |
| 36 | +# |
31 | 37 | # @param jce |
32 | 38 | # Install Oracles Java Cryptographic Extensions into the JRE or JDK |
33 | 39 | # |
34 | 40 | # @param jce_url |
35 | 41 | # Full URL to the jce zip file |
| 42 | +# |
| 43 | +# @param jce_username |
| 44 | +# Username for the JCE URL |
| 45 | +# |
| 46 | +# @param jce_password |
| 47 | +# Password for the JCE URL |
36 | 48 | # |
37 | 49 | # @param basedir |
38 | 50 | # Directory under which the installation will occur. If not set, defaults to |
|
62 | 74 | Optional[String] $proxy_server = undef, |
63 | 75 | Optional[Enum['none', 'http', 'https', 'ftp']] $proxy_type = undef, |
64 | 76 | Optional[String] $url = undef, |
| 77 | + Optional[String] $username = undef, |
| 78 | + Optional[String] $password = undef, |
65 | 79 | Boolean $jce = false, |
66 | 80 | Optional[String] $jce_url = undef, |
| 81 | + Optional[String] $jce_username = undef, |
| 82 | + Optional[String] $jce_password = undef, |
67 | 83 | Optional[String] $basedir = undef, |
68 | 84 | Boolean $manage_basedir = false, |
69 | 85 | Optional[String] $package_type = undef, |
|
258 | 274 | archive { $destination : |
259 | 275 | ensure => present, |
260 | 276 | source => $source, |
| 277 | + username => $username, |
| 278 | + password => $password, |
261 | 279 | extract_path => '/tmp', |
262 | 280 | cleanup => false, |
263 | 281 | creates => $creates_path, |
|
309 | 327 | extract_path => $jce_path, |
310 | 328 | extract_flags => '-oj', |
311 | 329 | creates => "${jce_path}/US_export_policy.jar", |
| 330 | + username => $jce_username, |
| 331 | + password => $jce_password, |
312 | 332 | cleanup => false, |
313 | 333 | proxy_server => $proxy_server, |
314 | 334 | proxy_type => $proxy_type, |
|
0 commit comments