dave2wave opened a new issue, #1436:
URL: https://github.com/apache/tooling-trusted-releases/issues/1436
There should be a way download the config files saved in Bitwarden using the
Archive module like so:
```
# Ensure the archive module is installed: puppet module install
puppet/archive
class my_module (
Stdlib::Httpurl $bitwarden_source_url,
Stdlib::Absolutepath $bitwarden_file_path,
) {
# Make sure the parent directory exists
file { dirname($bitwarden_file_path):
ensure => directory,
}
# Download and extract the file using the archive module
archive { 'download_bitwarden_file':
source => $bitwarden_source_url,
path => $bitwarden_file_path,
extract => true, # Set to false if you just want the
raw file
extract_path => '/opt/bitwarden/', # Where to extract the contents
cleanup => false, # Set to true to delete the .zip
after extraction
creates => '/opt/bitwarden/bw', # Path to verify if it already
exists
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]