diff --git a/CHANGELOG.md b/CHANGELOG.md
index 46851fe..e9b2dd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,521 +1,529 @@
# Changelog
All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.
+## [v6.0.2](https://github.com/voxpupuli/puppet-archive/tree/v6.0.2) (2021-11-23)
+
+[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v6.0.1...v6.0.2)
+
+**Merged pull requests:**
+
+- puppet-lint: fix top\_scope\_facts warnings [\#462](https://github.com/voxpupuli/puppet-archive/pull/462) ([bastelfreak](https://github.com/bastelfreak))
+
## [v6.0.1](https://github.com/voxpupuli/puppet-archive/tree/v6.0.1) (2021-08-26)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v6.0.0...v6.0.1)
**Fixed bugs:**
- Fix `archive::download::digest_type` data type \(reverts 6.0.0 breaking change\) [\#460](https://github.com/voxpupuli/puppet-archive/pull/460) ([alexjfisher](https://github.com/alexjfisher))
## [v6.0.0](https://github.com/voxpupuli/puppet-archive/tree/v6.0.0) (2021-08-25)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v5.0.0...v6.0.0)
**Breaking changes:**
- Drop Virtuozzo 6 [\#455](https://github.com/voxpupuli/puppet-archive/pull/455) ([genebean](https://github.com/genebean))
- Drop EoL AIX versions [\#454](https://github.com/voxpupuli/puppet-archive/pull/454) ([genebean](https://github.com/genebean))
- Drop EoL Windows versions [\#453](https://github.com/voxpupuli/puppet-archive/pull/453) ([genebean](https://github.com/genebean))
- Drop Debian 9 [\#452](https://github.com/voxpupuli/puppet-archive/pull/452) ([genebean](https://github.com/genebean))
- Drop Ubuntu 16.04 [\#451](https://github.com/voxpupuli/puppet-archive/pull/451) ([genebean](https://github.com/genebean))
- Set optional param to undef to fix failing test \(REVERTED IN 6.0.1\) [\#449](https://github.com/voxpupuli/puppet-archive/pull/449) ([yachub](https://github.com/yachub))
**Implemented enhancements:**
- Add support for Debian 11 [\#458](https://github.com/voxpupuli/puppet-archive/pull/458) ([smortex](https://github.com/smortex))
- Add ubuntu 20.04 [\#456](https://github.com/voxpupuli/puppet-archive/pull/456) ([genebean](https://github.com/genebean))
- Update CA certificate bundle to 2021-05-25 [\#444](https://github.com/voxpupuli/puppet-archive/pull/444) ([l-avila](https://github.com/l-avila))
**Fixed bugs:**
- Fix Could not set 'present' on ensure: wrong number of arguments \(given 1, expected 0\) [\#443](https://github.com/voxpupuli/puppet-archive/pull/443) ([jeffmccune](https://github.com/jeffmccune))
- Write downloaded files as binary [\#442](https://github.com/voxpupuli/puppet-archive/pull/442) ([benohara](https://github.com/benohara))
**Merged pull requests:**
- Allow stdlib 8.0.0 [\#457](https://github.com/voxpupuli/puppet-archive/pull/457) ([smortex](https://github.com/smortex))
## [v5.0.0](https://github.com/voxpupuli/puppet-archive/tree/v5.0.0) (2021-04-16)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.6.0...v5.0.0)
**Breaking changes:**
- metadata.json: drop Puppet 5, add Puppet 7 support [\#436](https://github.com/voxpupuli/puppet-archive/pull/436) ([kenyon](https://github.com/kenyon))
- Drop support for CentOS/RHEL 6 and variants [\#431](https://github.com/voxpupuli/puppet-archive/pull/431) ([alexjfisher](https://github.com/alexjfisher))
**Implemented enhancements:**
- Enable Debian 9/10 support [\#439](https://github.com/voxpupuli/puppet-archive/pull/439) ([bastelfreak](https://github.com/bastelfreak))
- Support stdlib 7.x [\#437](https://github.com/voxpupuli/puppet-archive/pull/437) ([treydock](https://github.com/treydock))
- Add `archives` parameter to make use with an ENC or hiera easier [\#423](https://github.com/voxpupuli/puppet-archive/pull/423) ([jcpunk](https://github.com/jcpunk))
- Add initial support for gsutil and pulling from Google Storage buckets [\#421](https://github.com/voxpupuli/puppet-archive/pull/421) ([j0sh3rs](https://github.com/j0sh3rs))
**Fixed bugs:**
- Fix downloading when passwords contain spaces [\#430](https://github.com/voxpupuli/puppet-archive/pull/430) ([alexjfisher](https://github.com/alexjfisher))
- Windows: find 7zip binary [\#428](https://github.com/voxpupuli/puppet-archive/pull/428) ([joerg16](https://github.com/joerg16))
**Merged pull requests:**
- Produce a better error for the puppet downloader when file not found [\#434](https://github.com/voxpupuli/puppet-archive/pull/434) ([hajee](https://github.com/hajee))
- Pass over credentials in archive::artifactory [\#433](https://github.com/voxpupuli/puppet-archive/pull/433) ([jramosf](https://github.com/jramosf))
- Clean up temporary files when checksums don't match [\#412](https://github.com/voxpupuli/puppet-archive/pull/412) ([benridley](https://github.com/benridley))
## [v4.6.0](https://github.com/voxpupuli/puppet-archive/tree/v4.6.0) (2020-08-21)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.5.0...v4.6.0)
**Implemented enhancements:**
- Add `temp_dir` parameter to `archive::nexus` [\#415](https://github.com/voxpupuli/puppet-archive/pull/415) ([alexcit](https://github.com/alexcit))
- Use curl netrc file instead of `--user` [\#399](https://github.com/voxpupuli/puppet-archive/pull/399) ([alexjfisher](https://github.com/alexjfisher))
**Closed issues:**
- Feature request: make password sensitive and hide on fail [\#397](https://github.com/voxpupuli/puppet-archive/issues/397)
**Merged pull requests:**
- README.md: correct spelling typo [\#414](https://github.com/voxpupuli/puppet-archive/pull/414) ([kenyon](https://github.com/kenyon))
- Fix several markdown lint issues [\#408](https://github.com/voxpupuli/puppet-archive/pull/408) ([dhoppe](https://github.com/dhoppe))
## [v4.5.0](https://github.com/voxpupuli/puppet-archive/tree/v4.5.0) (2020-04-02)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.4.0...v4.5.0)
**Implemented enhancements:**
- Add VZ 6/7 to metadata.json [\#402](https://github.com/voxpupuli/puppet-archive/pull/402) ([bastelfreak](https://github.com/bastelfreak))
**Closed issues:**
- Could not autoload puppet/parser/functions/artifactory\_sha1: no such file to load -- puppet\_x/bodeco/util [\#320](https://github.com/voxpupuli/puppet-archive/issues/320)
**Merged pull requests:**
- Convert `archive` class docs to puppet-strings and small README improvements [\#394](https://github.com/voxpupuli/puppet-archive/pull/394) ([alexjfisher](https://github.com/alexjfisher))
- Convert `go_md5` function to modern API [\#392](https://github.com/voxpupuli/puppet-archive/pull/392) ([alexjfisher](https://github.com/alexjfisher))
- Use `relative_require` in artifactory functions [\#391](https://github.com/voxpupuli/puppet-archive/pull/391) ([alexjfisher](https://github.com/alexjfisher))
- Convert `assemble_nexus_url` to modern API [\#390](https://github.com/voxpupuli/puppet-archive/pull/390) ([alexjfisher](https://github.com/alexjfisher))
- Remove duplicate CONTRIBUTING.md file [\#389](https://github.com/voxpupuli/puppet-archive/pull/389) ([dhoppe](https://github.com/dhoppe))
- Add Darwin \(mac os x\) compatibility [\#387](https://github.com/voxpupuli/puppet-archive/pull/387) ([bjoernhaeuser](https://github.com/bjoernhaeuser))
## [v4.4.0](https://github.com/voxpupuli/puppet-archive/tree/v4.4.0) (2019-11-04)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.3.0...v4.4.0)
**Implemented enhancements:**
- Extract .zip using PowerShell \(native\) as alternative to 7-zip [\#380](https://github.com/voxpupuli/puppet-archive/issues/380)
- Add support for .tar.Z files and uncompress [\#385](https://github.com/voxpupuli/puppet-archive/pull/385) ([hajee](https://github.com/hajee))
**Merged pull requests:**
- Put the cookie option at the end when using curl [\#349](https://github.com/voxpupuli/puppet-archive/pull/349) ([kapouik](https://github.com/kapouik))
## [v4.3.0](https://github.com/voxpupuli/puppet-archive/tree/v4.3.0) (2019-10-16)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.2.0...v4.3.0)
**Implemented enhancements:**
- Add Archlinux compatibility [\#383](https://github.com/voxpupuli/puppet-archive/pull/383) ([bastelfreak](https://github.com/bastelfreak))
- Add CentOS/RHEL 8 compatibility [\#382](https://github.com/voxpupuli/puppet-archive/pull/382) ([bastelfreak](https://github.com/bastelfreak))
## [v4.2.0](https://github.com/voxpupuli/puppet-archive/tree/v4.2.0) (2019-08-14)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.1.0...v4.2.0)
**Implemented enhancements:**
- add bunzip2 filetype support [\#378](https://github.com/voxpupuli/puppet-archive/pull/378) ([Dan33l](https://github.com/Dan33l))
## [v4.1.0](https://github.com/voxpupuli/puppet-archive/tree/v4.1.0) (2019-07-04)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v4.0.0...v4.1.0)
**Closed issues:**
- 4 Certificates expired, 3 expiring soon in cacert.pem [\#372](https://github.com/voxpupuli/puppet-archive/issues/372)
**Merged pull requests:**
- Update cacert.pem [\#373](https://github.com/voxpupuli/puppet-archive/pull/373) ([alexjfisher](https://github.com/alexjfisher))
- drop Ubuntu 14.04 support [\#371](https://github.com/voxpupuli/puppet-archive/pull/371) ([bastelfreak](https://github.com/bastelfreak))
## [v4.0.0](https://github.com/voxpupuli/puppet-archive/tree/v4.0.0) (2019-05-29)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v3.2.1...v4.0.0)
**Breaking changes:**
- modulesync 2.7.0 and drop puppet 4 [\#368](https://github.com/voxpupuli/puppet-archive/pull/368) ([bastelfreak](https://github.com/bastelfreak))
**Implemented enhancements:**
- Allow `puppetlabs/stdlib` 6.x [\#369](https://github.com/voxpupuli/puppet-archive/pull/369) ([alexjfisher](https://github.com/alexjfisher))
**Merged pull requests:**
- explain how to download as simple as possible [\#366](https://github.com/voxpupuli/puppet-archive/pull/366) ([Dan33l](https://github.com/Dan33l))
## [v3.2.1](https://github.com/voxpupuli/puppet-archive/tree/v3.2.1) (2018-10-19)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v3.2.0...v3.2.1)
**Merged pull requests:**
- modulesync 2.1.0 and allow puppet 6.x [\#355](https://github.com/voxpupuli/puppet-archive/pull/355) ([bastelfreak](https://github.com/bastelfreak))
## [v3.2.0](https://github.com/voxpupuli/puppet-archive/tree/v3.2.0) (2018-08-26)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v3.1.1...v3.2.0)
**Implemented enhancements:**
- Bump stdlib dependency to \<6.0.0 [\#352](https://github.com/voxpupuli/puppet-archive/pull/352) ([HelenCampbell](https://github.com/HelenCampbell))
- Fallback to PowerShell for zip files on Windows [\#351](https://github.com/voxpupuli/puppet-archive/pull/351) ([GeoffWilliams](https://github.com/GeoffWilliams))
## [v3.1.1](https://github.com/voxpupuli/puppet-archive/tree/v3.1.1) (2018-08-02)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v3.1.0...v3.1.1)
**Fixed bugs:**
- do not escape path on windows for unzip command [\#344](https://github.com/voxpupuli/puppet-archive/pull/344) ([qs5779](https://github.com/qs5779))
**Closed issues:**
- need a good example for extracting a tgz [\#335](https://github.com/voxpupuli/puppet-archive/issues/335)
**Merged pull requests:**
- fix documentation - refactor example when extracting tar.gz [\#342](https://github.com/voxpupuli/puppet-archive/pull/342) ([azbarcea](https://github.com/azbarcea))
- purge EOL ubuntu 10.04/12.04 from metadata.json [\#341](https://github.com/voxpupuli/puppet-archive/pull/341) ([bastelfreak](https://github.com/bastelfreak))
- README.md: how to handle a .tar.gz file [\#338](https://github.com/voxpupuli/puppet-archive/pull/338) ([bastelfreak](https://github.com/bastelfreak))
## [v3.1.0](https://github.com/voxpupuli/puppet-archive/tree/v3.1.0) (2018-06-14)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v3.0.0...v3.1.0)
**Closed issues:**
- HTTPS download broken again on windows [\#289](https://github.com/voxpupuli/puppet-archive/issues/289)
**Merged pull requests:**
- Allow Ubuntu 18.04 [\#336](https://github.com/voxpupuli/puppet-archive/pull/336) ([mpdude](https://github.com/mpdude))
- Remove docker nodesets [\#334](https://github.com/voxpupuli/puppet-archive/pull/334) ([bastelfreak](https://github.com/bastelfreak))
- drop EOL OSs; fix puppet version range [\#332](https://github.com/voxpupuli/puppet-archive/pull/332) ([bastelfreak](https://github.com/bastelfreak))
## [v3.0.0](https://github.com/voxpupuli/puppet-archive/tree/v3.0.0) (2018-03-31)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v2.3.0...v3.0.0)
**Breaking changes:**
- Rewrite artifactory\_sha1 function with puppet v4 api [\#323](https://github.com/voxpupuli/puppet-archive/pull/323) ([alexjfisher](https://github.com/alexjfisher))
- Remove deprecated archive::artifactory parameters [\#322](https://github.com/voxpupuli/puppet-archive/pull/322) ([alexjfisher](https://github.com/alexjfisher))
**Implemented enhancements:**
- Adding windows server 2016 to metadata.json [\#325](https://github.com/voxpupuli/puppet-archive/pull/325) ([TraGicCode](https://github.com/TraGicCode))
**Merged pull requests:**
- bump puppet to latest supported version 4.10.0 [\#326](https://github.com/voxpupuli/puppet-archive/pull/326) ([bastelfreak](https://github.com/bastelfreak))
- Don't glob archive URL with curl [\#318](https://github.com/voxpupuli/puppet-archive/pull/318) ([derekhiggins](https://github.com/derekhiggins))
## [v2.3.0](https://github.com/voxpupuli/puppet-archive/tree/v2.3.0) (2018-02-21)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v2.2.0...v2.3.0)
**Implemented enhancements:**
- Support fetching latest SNAPSHOT artifacts [\#284](https://github.com/voxpupuli/puppet-archive/pull/284) ([alexjfisher](https://github.com/alexjfisher))
**Fixed bugs:**
- Fix typo in digest\_type: sh256 -\> sha256 [\#315](https://github.com/voxpupuli/puppet-archive/pull/315) ([mark0n](https://github.com/mark0n))
**Merged pull requests:**
- Fix checksum\_type sh256 -\> sha256 typo [\#309](https://github.com/voxpupuli/puppet-archive/pull/309) ([tylerjl](https://github.com/tylerjl))
- Fix typo "voxpupoli" [\#308](https://github.com/voxpupuli/puppet-archive/pull/308) ([nmesstorff](https://github.com/nmesstorff))
## [v2.2.0](https://github.com/voxpupuli/puppet-archive/tree/v2.2.0) (2017-11-21)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v2.1.0...v2.2.0)
**Closed issues:**
- Setting an invalid proxy\_server parameter should return a more helpful error message. [\#220](https://github.com/voxpupuli/puppet-archive/issues/220)
**Merged pull requests:**
- Log actual and expected checksums on mismatch [\#305](https://github.com/voxpupuli/puppet-archive/pull/305) ([jeffmccune](https://github.com/jeffmccune))
## [v2.1.0](https://github.com/voxpupuli/puppet-archive/tree/v2.1.0) (2017-10-10)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v2.0.0...v2.1.0)
**Closed issues:**
- unzip not installed and results in errors [\#291](https://github.com/voxpupuli/puppet-archive/issues/291)
- Support puppet:/// urls or edit readme? [\#283](https://github.com/voxpupuli/puppet-archive/issues/283)
- Using proxy\_server and/or proxy\_port has no effect on Windows [\#277](https://github.com/voxpupuli/puppet-archive/issues/277)
- puppet source [\#151](https://github.com/voxpupuli/puppet-archive/issues/151)
**Merged pull requests:**
- Fix typos in puppet:/// URL example [\#298](https://github.com/voxpupuli/puppet-archive/pull/298) ([gabe-sky](https://github.com/gabe-sky))
- Update cacert.pem [\#290](https://github.com/voxpupuli/puppet-archive/pull/290) ([nanliu](https://github.com/nanliu))
- Support Nexus 3 urls for artifact downloads [\#285](https://github.com/voxpupuli/puppet-archive/pull/285) ([rvdh](https://github.com/rvdh))
## [v2.0.0](https://github.com/voxpupuli/puppet-archive/tree/v2.0.0) (2017-08-25)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v1.3.0...v2.0.0)
**Breaking changes:**
- BREAKING: Drop puppet 3 support. Replace validate\_\* functions with Puppet 4 data type validations [\#264](https://github.com/voxpupuli/puppet-archive/pull/264) ([jkroepke](https://github.com/jkroepke))
**Implemented enhancements:**
- Enable allow\_insecure in archive::download [\#295](https://github.com/voxpupuli/puppet-archive/pull/295) ([alexjfisher](https://github.com/alexjfisher))
- Add custom download options [\#279](https://github.com/voxpupuli/puppet-archive/pull/279) ([nanliu](https://github.com/nanliu))
- Add support for downloading puppet URL’s [\#270](https://github.com/voxpupuli/puppet-archive/pull/270) ([hajee](https://github.com/hajee))
**Fixed bugs:**
- wget proxy implementation incorrect [\#256](https://github.com/voxpupuli/puppet-archive/issues/256)
**Closed issues:**
- allow\_insecure is not working [\#294](https://github.com/voxpupuli/puppet-archive/issues/294)
- Can't download latest SNAPSHOT artifactory artifacts [\#282](https://github.com/voxpupuli/puppet-archive/issues/282)
- Need option to set curl SSL protocol [\#273](https://github.com/voxpupuli/puppet-archive/issues/273)
- Add guide for migrating from puppet-staging [\#266](https://github.com/voxpupuli/puppet-archive/issues/266)
- Rubocop: fix RSpec/MessageSpies [\#260](https://github.com/voxpupuli/puppet-archive/issues/260)
- -z for curl option [\#241](https://github.com/voxpupuli/puppet-archive/issues/241)
- RSpec/MessageExpectation violations [\#208](https://github.com/voxpupuli/puppet-archive/issues/208)
**Merged pull requests:**
- Change how ruby proxy is invoked. [\#280](https://github.com/voxpupuli/puppet-archive/pull/280) ([nanliu](https://github.com/nanliu))
- Pass proxy values using the wget -e option [\#272](https://github.com/voxpupuli/puppet-archive/pull/272) ([nanliu](https://github.com/nanliu))
- GH-260 Fix rubocop RSpec/MessageSpies [\#271](https://github.com/voxpupuli/puppet-archive/pull/271) ([nanliu](https://github.com/nanliu))
- Fix README typo on credentials file and add the config too [\#269](https://github.com/voxpupuli/puppet-archive/pull/269) ([aerostitch](https://github.com/aerostitch))
- Add puppet-staging migration examples [\#268](https://github.com/voxpupuli/puppet-archive/pull/268) ([alexjfisher](https://github.com/alexjfisher))
## [v1.3.0](https://github.com/voxpupuli/puppet-archive/tree/v1.3.0) (2017-02-10)
[Full Changelog](https://github.com/voxpupuli/puppet-archive/compare/v1.2.0...v1.3.0)
## v1.2.0 (2016-12-25)
* Modulesync with latest Vox Pupuli defaults
* Fix wrong license in repo
* Fix several rubocop issues
* Fix several markdown issues in README.md
* Add temp_dir option to override OS temp dir location
## v1.1.2 (2016-08-31)
* [GH-213](https://github.com/voxpupuli/puppet-archive/issues/213) Fix *allow_insecure* for ruby provider
* [GH-205](https://github.com/voxpupuli/puppet-archive/issues/205) Raise exception on bad source parameters
* [GH-204](https://github.com/voxpupuli/puppet-archive/issues/204) Resolve camptocamp archive regression
* Expose *allow_insecure* in nexus defined type
* Make *archive_windir* fact confinement work on ruby 1.8 systems. Note this does **not** mean the *type* will work on unsupported ruby 1.8 systems.
## v1.1.1 (2016-08-18)
* Modulesync with latest Vox Pupuli defaults
* Fix cacert path
* Fix AIX extraction
* Feature: make allow_insecure parameter universal
## v1.0.0 (2016-07-13)
* GH-176 Add Compatiblity layer for camptocamp/archive
* GH-174 Add allow_insecure parameter
* Numerous Rubocop and other modulesync changes
* Drop support for ruby 1.8
## v0.5.1 (2016-03-18)
* GH-146 Set aws_cli_install default to false
* GH-142 Fix wget cookie options
* GH-114 Document extract customization options
* Open file in binary mode when writing files for windows download
## v0.5.0 (2016-03-10)
Release 0.5.x contains significant changes:
* faraday, faraday_middleware no longer required.
* ruby provider is the default for windows (using net::http).
* archive gem_provider attribute deprecated.
* archive::artifactory server, port, url_path attributes deprecated.
* S3 bucket support (experimental).
* GH-55 use net::http to stream files
* Add additional documentation
* Simplify duplicate code in download/content methods
* Pin rake to avoid rubocop/rake 11 incompatibility
* Surface "checksum_verify" parameter in archive::nexus
* GH-48 S3 bucket support
## v0.4.8 (2016-03-02)
* VoxPupuli Release
* modulesync to fix forge release issues.
* Cosmetic changes due to rubocop update.
## v0.4.7 (2016-03-1)
* VoxPupuli Release
* Raise exception when error occurs during extraction.
## v0.4.6 (2016-02-26)
* VoxPupuli Release
## v0.4.5 (2016-02-26)
* Puppet-community release
* Update travis/forge badge location
* Fix aio-agent detection
* Support .gz .xz format
* Fix local files for non faraday providers
* Fix GH-77 allows local files to be specified without using file:///
* Fix GH-78 allow local file:///c:/... on windows
* Fix phantom v0.4.4 release.
## v0.4.4 (2015-12-2)
* Puppet-community release
* Ignore files properly for functional release
* Add authentication to archive::nexus
* Create directory before transfering file
* Refactor file download code
* Create and use fact for archive_windir
* Cleanup old testing code
## v0.4.3 (2015-11-25)
* Puppet-community release
## v0.4.1 (2015-11-25)
* Automate release :)
## v0.4.0 (2015-11-25)
* Migrate Module to Puppet-Community
* Make everything Rubocop Clean
* Make everything lint clean
* Various fixes concerning Jar handling
* Support for wget
* Spec Tests for curl
* Support for bzip
* More robust handling of sha512 checksums
## 0.3.0 (2015-04-23)
Release 0.3.x contains breaking changes
* The parameter 7zip have been changed to seven_zip to conform to Puppet 4.x variable name requirements.
* The namevar name have been changed to path to allow files with the same filename to exists in different filepath.
* This project have been migrated to [voxpupuli](https://github.com/voxpupuli/puppet-archive), please adjust your repo git source.
* Fix Puppet 4 compatability issues
* Fix archive namevar to use path
## 0.2.2 (2015-03-05)
* Add FTP and File support
## 0.2.1 (2015-02-26)
* Fix ruby 1.8.7 syntax error
## 0.2.0 (2015-02-23)
* Fix custom flags options
* Add msi installation option for 7zip
* Add support for configuring extract command user/group
* Use temporary filepath for download
## 0.1.8 (2014-12-08)
* Update documentation
* puppet-lint, metadata.json cleanup
## 0.1.7 (2014-11-13)
* Fix Puppet Enterprise detection
* Fix checksum length restriction
* Add puppetlabs stdlib/pe_gem dependency
* Add spec testing
## 0.1.6 (2014-11-05)
* Fix Windows SSL authentication issues
## 0.1.5 (2014-11-04)
* Add cookie support
## 0.1.4 (2014-10-03)
* Fix file overwrite and re-extract
## 0.1.3 (2014-10-03)
* Fix windows x86 path bug
## 0.1.2 (2014-10-02)
* Fix autorequire and installation of dependencies
## 0.1.1 (2014-10-01)
* Add windows extraction support via 7zip
## 0.1.0 (2014-09-26)
* Initial Release
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
diff --git a/REFERENCE.md b/REFERENCE.md
new file mode 100644
index 0000000..8dcadb2
--- /dev/null
+++ b/REFERENCE.md
@@ -0,0 +1,1191 @@
+# Reference
+
+
+
+## Table of Contents
+
+### Classes
+
+#### Public Classes
+
+* [`archive`](#archive): Manages archive module's dependencies.
+* [`archive::staging`](#archivestaging): Class: archive::staging ======================= backwards compatibility class for staging module.
+
+#### Private Classes
+
+* `archive::params`: OS specific `archive` settings such as default user and file mode.
+
+### Defined types
+
+* [`archive::artifactory`](#archiveartifactory): Define: archive::artifactory ============================ archive wrapper for downloading files from artifactory Parameters ---------- * p
+* [`archive::download`](#archivedownload): == Definition: archive::download Archive downloader with integrity verification. Parameters: - *$url: - *$digest_url: - *$digest_string: D
+* [`archive::go`](#archivego): download from go
+* [`archive::nexus`](#archivenexus): define: archive::nexus ====================== archive wrapper for downloading files from Nexus using REST API. Nexus API: https://repository
+
+### Resource types
+
+* [`archive`](#archive): Manage archive file download, extraction, and cleanup.
+
+### Functions
+
+#### Public Functions
+
+* [`archive::artifactory_checksum`](#archiveartifactory_checksum): A function that returns the checksum value of an artifact stored in Artifactory
+* [`archive::artifactory_latest_url`](#archiveartifactory_latest_url)
+* [`archive::parse_artifactory_url`](#archiveparse_artifactory_url): A function to parse an Artifactory maven 2 repository URL
+
+#### Private Functions
+
+* `archive::assemble_nexus_url`: Assembles a complete nexus URL from the base url and query parameters
+* `archive::go_md5`: Retrieves and returns specific file's md5 from GoCD server md5 checksum file
+
+## Classes
+
+### `archive`
+
+Manages archive module's dependencies.
+
+#### Examples
+
+##### On Windows, ensure 7zip is installed using the default `chocolatey` provider.
+
+```puppet
+include archive
+```
+
+##### On Windows, install a 7zip MSI with the native `windows` package provider.
+
+```puppet
+class { 'archive':
+ seven_zip_name => '7-Zip 9.20 (x64 edition)',
+ seven_zip_source => 'C:/Windows/Temp/7z920-x64.msi',
+ seven_zip_provider => 'windows',
+}
+```
+
+##### Install the AWS CLI tool. (Not supported on Windows).
+
+```puppet
+class { 'archive':
+ aws_cli_install => true,
+}
+```
+
+##### Deploy a specific archive
+
+```puppet
+class { 'archive':
+ archives => { '/tmp/jta-1.1.jar' => {
+ 'ensure' => 'present',
+ 'source' => 'http://central.maven.org/maven2/javax/transaction/jta/1.1/jta-1.1.jar',
+ }, }
+}
+```
+
+#### Parameters
+
+The following parameters are available in the `archive` class:
+
+* [`seven_zip_name`](#seven_zip_name)
+* [`seven_zip_provider`](#seven_zip_provider)
+* [`seven_zip_source`](#seven_zip_source)
+* [`aws_cli_install`](#aws_cli_install)
+* [`gsutil_install`](#gsutil_install)
+* [`archives`](#archives)
+
+##### `seven_zip_name`
+
+Data type: `Optional[String[1]]`
+
+7zip package name. This parameter only applies to Windows.
+
+Default value: `$archive::params::seven_zip_name`
+
+##### `seven_zip_provider`
+
+Data type: `Optional[Enum['chocolatey','windows','']]`
+
+7zip package provider. This parameter only applies to Windows where it defaults to `chocolatey`. Can be set to an empty string, (or `undef` via hiera), if you don't want this module to manage 7zip.
+
+Default value: `$archive::params::seven_zip_provider`
+
+##### `seven_zip_source`
+
+Data type: `Optional[String[1]]`
+
+Alternative package source for 7zip. This parameter only applies to Windows.
+
+Default value: ``undef``
+
+##### `aws_cli_install`
+
+Data type: `Boolean`
+
+Installs the AWS CLI command needed for downloading from S3 buckets. This parameter is currently not implemented on Windows.
+
+Default value: ``false``
+
+##### `gsutil_install`
+
+Data type: `Boolean`
+
+Installs the GSUtil CLI command needed for downloading from GS buckets. This parameter is currently not implemented on Windows.
+
+Default value: ``false``
+
+##### `archives`
+
+Data type: `Hash`
+
+A hash of archive resources this module should create.
+
+Default value: `{}`
+
+### `archive::staging`
+
+Class: archive::staging
+=======================
+
+backwards compatibility class for staging module.
+
+#### Parameters
+
+The following parameters are available in the `archive::staging` class:
+
+* [`path`](#path)
+* [`owner`](#owner)
+* [`group`](#group)
+* [`mode`](#mode)
+
+##### `path`
+
+Data type: `String`
+
+
+
+Default value: `$archive::params::path`
+
+##### `owner`
+
+Data type: `String`
+
+
+
+Default value: `$archive::params::owner`
+
+##### `group`
+
+Data type: `String`
+
+
+
+Default value: `$archive::params::group`
+
+##### `mode`
+
+Data type: `String`
+
+
+
+Default value: `$archive::params::mode`
+
+## Defined types
+
+### `archive::artifactory`
+
+Define: archive::artifactory
+============================
+
+archive wrapper for downloading files from artifactory
+
+Parameters
+----------
+
+* path: fully qualified filepath for the download the file or use archive_path and only supply filename. (namevar).
+* ensure: ensure the file is present/absent.
+* url: artifactory download URL.
+* owner: file owner (see archive params for defaults).
+* group: file group (see archive params for defaults).
+* mode: file mode (see archive params for defaults).
+* archive_path: the parent directory of local filepath.
+* extract: whether to extract the files (true/false).
+* creates: the file created when the archive is extracted (true/false).
+* cleanup: remove archive file after file extraction (true/false).
+
+Examples
+--------
+
+archive::artifactory { '/tmp/logo.png':
+ url => 'https://repo.jfrog.org/artifactory/distributions/images/Artifactory_120x75.png',
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+}
+
+$dirname = 'gradle-1.0-milestone-4-20110723151213+0300'
+$filename = "${dirname}-bin.zip"
+
+archive::artifactory { $filename:
+ archive_path => '/tmp',
+ url => "http://repo.jfrog.org/artifactory/distributions/org/gradle/${filename}",
+ extract => true,
+ extract_path => '/opt',
+ creates => "/opt/${dirname}",
+ cleanup => true,
+}
+
+#### Parameters
+
+The following parameters are available in the `archive::artifactory` defined type:
+
+* [`url`](#url)
+* [`path`](#path)
+* [`ensure`](#ensure)
+* [`owner`](#owner)
+* [`group`](#group)
+* [`mode`](#mode)
+* [`extract`](#extract)
+* [`extract_path`](#extract_path)
+* [`creates`](#creates)
+* [`cleanup`](#cleanup)
+* [`username`](#username)
+* [`password`](#password)
+* [`archive_path`](#archive_path)
+
+##### `url`
+
+Data type: `Stdlib::HTTPUrl`
+
+
+
+##### `path`
+
+Data type: `String`
+
+
+
+Default value: `$name`
+
+##### `ensure`
+
+Data type: `Enum['present', 'absent']`
+
+
+
+Default value: `present`
+
+##### `owner`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `group`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `mode`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `extract`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `extract_path`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `creates`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `cleanup`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `username`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `password`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `archive_path`
+
+Data type: `Optional[Stdlib::Absolutepath]`
+
+
+
+Default value: ``undef``
+
+### `archive::download`
+
+== Definition: archive::download
+
+Archive downloader with integrity verification.
+
+Parameters:
+
+- *$url:
+- *$digest_url:
+- *$digest_string: Default value undef
+- *$digest_type: Default value "md5".
+- *$timeout: Default value 120. (ignored)
+- *$src_target: Default value "/usr/src".
+- *$allow_insecure: Default value false.
+- *$follow_redirects: Default value false.
+- *$verbose: Default value true.
+- *$proxy_server: Default value undef.
+- *$user: The user used to download the archive
+
+Example usage:
+
+ archive::download {"apache-tomcat-6.0.26.tar.gz":
+ ensure => present,
+ url => "http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.tar.gz",
+ }
+
+ archive::download {"apache-tomcat-6.0.26.tar.gz":
+ ensure => present,
+ digest_string => "f9eafa9bfd620324d1270ae8f09a8c89",
+ url => "http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.tar.gz",
+ }
+
+#### Parameters
+
+The following parameters are available in the `archive::download` defined type:
+
+* [`url`](#url)
+* [`ensure`](#ensure)
+* [`checksum`](#checksum)
+* [`digest_url`](#digest_url)
+* [`digest_string`](#digest_string)
+* [`digest_type`](#digest_type)
+* [`timeout`](#timeout)
+* [`src_target`](#src_target)
+* [`allow_insecure`](#allow_insecure)
+* [`follow_redirects`](#follow_redirects)
+* [`verbose`](#verbose)
+* [`path`](#path)
+* [`proxy_server`](#proxy_server)
+* [`user`](#user)
+
+##### `url`
+
+Data type: `String`
+
+
+
+##### `ensure`
+
+Data type: `Enum['present', 'absent']`
+
+
+
+Default value: `present`
+
+##### `checksum`
+
+Data type: `Boolean`
+
+
+
+Default value: ``true``
+
+##### `digest_url`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `digest_string`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `digest_type`
+
+Data type: `Enum['none', 'md5', 'sha1', 'sha2','sha256', 'sha384', 'sha512']`
+
+
+
+Default value: `'md5'`
+
+##### `timeout`
+
+Data type: `Integer`
+
+
+
+Default value: `120`
+
+##### `src_target`
+
+Data type: `Stdlib::Compat::Absolute_path`
+
+
+
+Default value: `'/usr/src'`
+
+##### `allow_insecure`
+
+Data type: `Boolean`
+
+
+
+Default value: ``false``
+
+##### `follow_redirects`
+
+Data type: `Boolean`
+
+
+
+Default value: ``false``
+
+##### `verbose`
+
+Data type: `Boolean`
+
+
+
+Default value: ``true``
+
+##### `path`
+
+Data type: `String`
+
+
+
+Default value: `$facts['path']`
+
+##### `proxy_server`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `user`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+### `archive::go`
+
+download from go
+
+#### Parameters
+
+The following parameters are available in the `archive::go` defined type:
+
+* [`server`](#server)
+* [`port`](#port)
+* [`url_path`](#url_path)
+* [`md5_url_path`](#md5_url_path)
+* [`username`](#username)
+* [`password`](#password)
+* [`ensure`](#ensure)
+* [`path`](#path)
+* [`owner`](#owner)
+* [`group`](#group)
+* [`mode`](#mode)
+* [`extract`](#extract)
+* [`extract_path`](#extract_path)
+* [`creates`](#creates)
+* [`cleanup`](#cleanup)
+* [`archive_path`](#archive_path)
+
+##### `server`
+
+Data type: `String`
+
+
+
+##### `port`
+
+Data type: `Integer`
+
+
+
+##### `url_path`
+
+Data type: `String`
+
+
+
+##### `md5_url_path`
+
+Data type: `String`
+
+
+
+##### `username`
+
+Data type: `String`
+
+
+
+##### `password`
+
+Data type: `String`
+
+
+
+##### `ensure`
+
+Data type: `Enum['present', 'absent']`
+
+
+
+Default value: `present`
+
+##### `path`
+
+Data type: `String`
+
+
+
+Default value: `$name`
+
+##### `owner`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `group`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `mode`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `extract`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `extract_path`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `creates`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `cleanup`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `archive_path`
+
+Data type: `Optional[Stdlib::Compat::Absolute_path]`
+
+
+
+Default value: ``undef``
+
+### `archive::nexus`
+
+define: archive::nexus
+======================
+
+archive wrapper for downloading files from Nexus using REST API. Nexus API:
+https://repository.sonatype.org/nexus-restlet1x-plugin/default/docs/path__artifact_maven_content.html
+
+Parameters
+----------
+
+Examples
+--------
+
+archive::nexus { '/tmp/jtstand-ui-0.98.jar':
+ url => 'https://oss.sonatype.org',
+ gav => 'org.codehaus.jtstand:jtstand-ui:0.98',
+ repository => 'codehaus-releases',
+ packaging => 'jar',
+ extract => false,
+}
+
+#### Parameters
+
+The following parameters are available in the `archive::nexus` defined type:
+
+* [`url`](#url)
+* [`gav`](#gav)
+* [`repository`](#repository)
+* [`ensure`](#ensure)
+* [`checksum_type`](#checksum_type)
+* [`checksum_verify`](#checksum_verify)
+* [`packaging`](#packaging)
+* [`use_nexus3_urls`](#use_nexus3_urls)
+* [`classifier`](#classifier)
+* [`extension`](#extension)
+* [`username`](#username)
+* [`password`](#password)
+* [`user`](#user)
+* [`owner`](#owner)
+* [`group`](#group)
+* [`mode`](#mode)
+* [`extract`](#extract)
+* [`extract_path`](#extract_path)
+* [`extract_flags`](#extract_flags)
+* [`extract_command`](#extract_command)
+* [`creates`](#creates)
+* [`cleanup`](#cleanup)
+* [`proxy_server`](#proxy_server)
+* [`proxy_type`](#proxy_type)
+* [`allow_insecure`](#allow_insecure)
+* [`temp_dir`](#temp_dir)
+
+##### `url`
+
+Data type: `String`
+
+
+
+##### `gav`
+
+Data type: `String`
+
+
+
+##### `repository`
+
+Data type: `String`
+
+
+
+##### `ensure`
+
+Data type: `Enum['present', 'absent']`
+
+
+
+Default value: `present`
+
+##### `checksum_type`
+
+Data type: `Enum['none', 'md5', 'sha1', 'sha2','sha256', 'sha384', 'sha512']`
+
+
+
+Default value: `'md5'`
+
+##### `checksum_verify`
+
+Data type: `Boolean`
+
+
+
+Default value: ``true``
+
+##### `packaging`
+
+Data type: `String`
+
+
+
+Default value: `'jar'`
+
+##### `use_nexus3_urls`
+
+Data type: `Boolean`
+
+
+
+Default value: ``false``
+
+##### `classifier`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `extension`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `username`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `password`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `user`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `owner`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `group`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `mode`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `extract`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `extract_path`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `extract_flags`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `extract_command`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `creates`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `cleanup`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `proxy_server`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `proxy_type`
+
+Data type: `Optional[String]`
+
+
+
+Default value: ``undef``
+
+##### `allow_insecure`
+
+Data type: `Optional[Boolean]`
+
+
+
+Default value: ``undef``
+
+##### `temp_dir`
+
+Data type: `Optional[Stdlib::Absolutepath]`
+
+
+
+Default value: ``undef``
+
+## Resource types
+
+### `archive`
+
+Manage archive file download, extraction, and cleanup.
+
+#### Properties
+
+The following properties are available in the `archive` type.
+
+##### `creates`
+
+if file/directory exists, will not download/extract archive.
+
+##### `ensure`
+
+Valid values: `present`, `absent`
+
+whether archive file should be present/absent (default: present)
+
+Default value: `present`
+
+#### Parameters
+
+The following parameters are available in the `archive` type.
+
+* [`allow_insecure`](#allow_insecure)
+* [`checksum`](#checksum)
+* [`checksum_type`](#checksum_type)
+* [`checksum_url`](#checksum_url)
+* [`checksum_verify`](#checksum_verify)
+* [`cleanup`](#cleanup)
+* [`cookie`](#cookie)
+* [`digest_string`](#digest_string)
+* [`digest_type`](#digest_type)
+* [`digest_url`](#digest_url)
+* [`download_options`](#download_options)
+* [`extract`](#extract)
+* [`extract_command`](#extract_command)
+* [`extract_flags`](#extract_flags)
+* [`extract_path`](#extract_path)
+* [`filename`](#filename)
+* [`group`](#group)
+* [`password`](#password)
+* [`path`](#path)
+* [`provider`](#provider)
+* [`proxy_server`](#proxy_server)
+* [`proxy_type`](#proxy_type)
+* [`source`](#source)
+* [`target`](#target)
+* [`temp_dir`](#temp_dir)
+* [`url`](#url)
+* [`user`](#user)
+* [`username`](#username)
+
+##### `allow_insecure`
+
+Valid values: ``true``, ``false``, `yes`, `no`
+
+ignore HTTPS certificate errors
+
+Default value: ``false``
+
+##### `checksum`
+
+Valid values: `%r{\b[0-9a-f]{5,128}\b}`, ``true``, ``false``, ``undef``, `nil`, `''`
+
+archive file checksum (match checksum_type).
+
+##### `checksum_type`
+
+Valid values: `none`, `md5`, `sha1`, `sha2`, `sha256`, `sha384`, `sha512`
+
+archive file checksum type (none|md5|sha1|sha2|sha256|sha384|sha512).
+
+Default value: `none`
+
+##### `checksum_url`
+
+archive file checksum source (instead of specifying checksum)
+
+##### `checksum_verify`
+
+Valid values: ``true``, ``false``
+
+whether checksum wil be verified (true|false).
+
+Default value: ``true``
+
+##### `cleanup`
+
+Valid values: ``true``, ``false``
+
+whether archive file will be removed after extraction (true|false).
+
+Default value: ``true``
+
+##### `cookie`
+
+archive file download cookie.
+
+##### `digest_string`
+
+Valid values: `%r{\b[0-9a-f]{5,128}\b}`
+
+archive file checksum (match checksum_type)
+(this parameter is for camptocamp/archive compatibility).
+
+##### `digest_type`
+
+Valid values: `none`, `md5`, `sha1`, `sha2`, `sha256`, `sha384`, `sha512`
+
+archive file checksum type (none|md5|sha1|sha2|sha256|sha384|sha512)
+(this parameter is camptocamp/archive compatibility).
+
+##### `digest_url`
+
+archive file checksum source (instead of specifying checksum)
+(this parameter is for camptocamp/archive compatibility)
+
+##### `download_options`
+
+provider download options (affects curl, wget, gs, and only s3 downloads for ruby provider)
+
+##### `extract`
+
+Valid values: ``true``, ``false``
+
+whether archive will be extracted after download (true|false).
+
+Default value: ``false``
+
+##### `extract_command`
+
+custom extraction command ('tar xvf example.tar.gz'), also support sprintf format ('tar xvf %s') which will be processed
+with the filename: sprintf('tar xvf %s', filename)
+
+##### `extract_flags`
+
+custom extraction options, this replaces the default flags. A string such as 'xvf' for a tar file would replace the
+default xf flag. A hash is useful when custom flags are needed for different platforms. {'tar' => 'xzf', '7z' => 'x
+-aot'}.
+
+Default value: ``undef``
+
+##### `extract_path`
+
+target folder path to extract archive.
+
+##### `filename`
+
+archive file name (derived from path).
+
+##### `group`
+
+extract command group (using this option will configure the archive file permisison to 0644 so the user can read the
+file).
+
+##### `password`
+
+password to download source file.
+
+##### `path`
+
+namevar, archive file fully qualified file path.
+
+##### `provider`
+
+The specific backend to use for this `archive` resource. You will seldom need to specify this --- Puppet will usually
+discover the appropriate provider for your platform.
+
+##### `proxy_server`
+
+proxy address to use when accessing source
+
+##### `proxy_type`
+
+Valid values: `none`, `ftp`, `http`, `https`
+
+proxy type (none|ftp|http|https)
+
+##### `source`
+
+archive file source, supports puppet|http|https|ftp|file|s3|gs uri.
+
+##### `target`
+
+target folder path to extract archive. (this parameter is for camptocamp/archive compatibility)
+
+##### `temp_dir`
+
+Specify an alternative temporary directory to use for copying files, if unset then the operating system default will be
+used.
+
+##### `url`
+
+archive file source, supports http|https|ftp|file uri.
+(for camptocamp/archive compatibility)
+
+##### `user`
+
+extract command user (using this option will configure the archive file permission to 0644 so the user can read the
+file).
+
+##### `username`
+
+username to download source file.
+
+## Functions
+
+### `archive::artifactory_checksum`
+
+Type: Ruby 4.x API
+
+A function that returns the checksum value of an artifact stored in Artifactory
+
+#### `archive::artifactory_checksum(Stdlib::HTTPUrl $url, Optional[Enum['sha1','sha256','md5']] $checksum_type)`
+
+The archive::artifactory_checksum function.
+
+Returns: `String` Returns the checksum.
+
+##### `url`
+
+Data type: `Stdlib::HTTPUrl`
+
+The URL of the artifact.
+
+##### `checksum_type`
+
+Data type: `Optional[Enum['sha1','sha256','md5']]`
+
+The checksum type.
+Note the function will raise an error if you ask for sha256 but your artifactory instance doesn't have the sha256 value calculated.
+
+### `archive::artifactory_latest_url`
+
+Type: Ruby 4.x API
+
+The archive::artifactory_latest_url function.
+
+#### `archive::artifactory_latest_url(Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl] $url, Hash $maven_data)`
+
+The archive::artifactory_latest_url function.
+
+Returns: `Any`
+
+##### `url`
+
+Data type: `Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl]`
+
+
+
+##### `maven_data`
+
+Data type: `Hash`
+
+
+
+### `archive::parse_artifactory_url`
+
+Type: Ruby 4.x API
+
+A function to parse an Artifactory maven 2 repository URL
+
+#### `archive::parse_artifactory_url(Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl] $url)`
+
+A function to parse an Artifactory maven 2 repository URL
+
+Returns: `Any`
+
+##### `url`
+
+Data type: `Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl]`
+
+
+
diff --git a/metadata.json b/metadata.json
index 99210de..c117aba 100644
--- a/metadata.json
+++ b/metadata.json
@@ -1,106 +1,106 @@
{
"operatingsystem_support": [
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
]
},
{
"operatingsystem": "OracleLinux",
"operatingsystemrelease": [
"7",
"8"
]
},
{
"operatingsystem": "Scientific",
"operatingsystemrelease": [
"7"
]
},
{
"operatingsystem": "SLES",
"operatingsystemrelease": [
"11 SP1"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04",
"20.04"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
]
},
{
"operatingsystem": "Solaris",
"operatingsystemrelease": [
"10",
"11"
]
},
{
"operatingsystem": "Windows",
"operatingsystemrelease": [
"2016"
]
},
{
"operatingsystem": "AIX",
"operatingsystemrelease": [
"7.1"
]
},
{
"operatingsystem": "Archlinux"
},
{
"operatingsystem": "Darwin",
"operatingsystemrelease": [
"19"
]
},
{
"operatingsystem": "VirtuozzoLinux",
"operatingsystemrelease": [
"7"
]
}
],
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 6.1.0 < 8.0.0"
}
],
"name": "puppet-archive",
- "version": "6.0.2-rc0",
+ "version": "6.0.2",
"source": "https://github.com/voxpupuli/puppet-archive",
"author": "Vox Pupuli",
"license": "Apache-2.0",
"summary": "Compressed archive file download and extraction with native types/providers for Windows and Unix",
"description": "The archive module provides native puppet resources for managing compressed file download and extraction with optional checksum verification and cleanup.",
"project_page": "https://github.com/voxpupuli/puppet-archive",
"issues_url": "https://github.com/voxpupuli/puppet-archive/issues",
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.18.0 < 9.0.0"
}
]
}