Skip to content

Commit

Permalink
Repo credentials (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimadozen authored Jan 10, 2023
1 parent 12e7ecc commit 53f6499
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
Boolean $archive_symlink = $zookeeper::params::archive_symlink,
String $archive_symlink_name = $zookeeper::params::archive_symlink_name,
String $archive_version = $zookeeper::params::archive_version,
Optional[String] $repo_user = $zookeeper::params::repo_user,
Optional[String] $repo_password = $zookeeper::params::repo_password,
Optional[String] $proxy_server = $zookeeper::params::proxy_server,
Optional[String] $proxy_type = $zookeeper::params::proxy_type,
Optional[String] $cdhver = $zookeeper::params::cdhver,
Expand Down
2 changes: 2 additions & 0 deletions manifests/install/archive.pp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
checksum => $zookeeper::archive_checksum['hash'],
checksum_type => $zookeeper::archive_checksum['type'],
extract_path => $zookeeper::archive_install_dir,
username => $zookeeper::repo_user,
password => $zookeeper::repo_password,
# Extract files as the user doing the extracting, which is the user
# that runs Puppet, usually root
extract_flags => '-x --no-same-owner -f',
Expand Down
2 changes: 2 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
$java_opts = ''
$java_package = undef
$repo = undef
$repo_user = undef
$repo_password = undef
$proxy_server = undef
$proxy_type = undef

Expand Down

0 comments on commit 53f6499

Please sign in to comment.