Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to install consul through local archive files #656

Merged
merged 2 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ Default value: `'zip'`

##### <a name="-consul--download_url"></a>`download_url`

Data type: `Optional[Stdlib::HTTPUrl]`
Data type: `Optional[Stdlib::Filesource]`

Fully qualified url to the location of the archive file containing the consul binary.
Fully qualified url, puppet uri or absolute path to the location of the archive file containing the consul binary.

Default value: `undef`

Expand Down
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# @param data_dir_mode Use this to set the data_dir directory mode for consul.
# @param docker_image Only valid when the install_method == docker. Defaults to `consul`.
# @param download_extension The extension of the archive file containing the consul binary to download.
# @param download_url Fully qualified url to the location of the archive file containing the consul binary.
# @param download_url Fully qualified url, puppet uri or absolute path to the location of the archive file containing the consul binary.
# @param download_url_base Base url to the location of the archive file containing the consul binary.
# @param extra_groups Extra groups to add the consul system user to.
# @param extra_options Extra arguments to be passed to the consul agent
Expand Down Expand Up @@ -110,7 +110,7 @@
String[1] $data_dir_mode = $consul::params::data_dir_mode,
String[1] $docker_image = 'consul',
String[1] $download_extension = 'zip',
Optional[Stdlib::HTTPUrl] $download_url = undef,
Optional[Stdlib::Filesource] $download_url = undef,
String[1] $download_url_base = 'https://releases.hashicorp.com/consul/',
Array $extra_groups = [],
Optional[String[1]] $extra_options = undef,
Expand Down
Loading