|
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 | # |
|
62 | 68 | Optional[String] $proxy_server = undef, |
63 | 69 | Optional[Enum['none', 'http', 'https', 'ftp']] $proxy_type = undef, |
64 | 70 | Optional[String] $url = undef, |
| 71 | + Optional[String] $username = undef, |
| 72 | + Optional[String] $password = undef, |
65 | 73 | Boolean $jce = false, |
66 | 74 | Optional[String] $jce_url = undef, |
| 75 | + Optional[String] $jce_username = undef, |
| 76 | + Optional[String] $jce_password = undef, |
67 | 77 | Optional[String] $basedir = undef, |
68 | 78 | Boolean $manage_basedir = false, |
69 | 79 | Optional[String] $package_type = undef, |
|
258 | 268 | archive { $destination : |
259 | 269 | ensure => present, |
260 | 270 | source => $source, |
| 271 | + username => $username, |
| 272 | + password => $password, |
261 | 273 | extract_path => '/tmp', |
262 | 274 | cleanup => false, |
263 | 275 | creates => $creates_path, |
|
309 | 321 | extract_path => $jce_path, |
310 | 322 | extract_flags => '-oj', |
311 | 323 | creates => "${jce_path}/US_export_policy.jar", |
| 324 | + username => $jce_username, |
| 325 | + password => $jce_password, |
312 | 326 | cleanup => false, |
313 | 327 | proxy_server => $proxy_server, |
314 | 328 | proxy_type => $proxy_type, |
|
0 commit comments