Forge Home

archive

Compressed archive file download and extraction with native types/providers for Windows and Unix

93,328,702 downloads

18,508 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 7.1.0 (latest)
  • 7.0.0
  • 6.1.2
  • 6.1.1
  • 6.1.0
  • 6.0.2
  • 6.0.1
  • 6.0.0
  • 5.0.0
  • 4.6.0
  • 4.5.0
  • 4.4.0
  • 4.3.0
  • 4.2.0
  • 4.1.0
  • 4.0.0
  • 3.2.1
  • 3.2.0
  • 3.1.1
  • 3.1.0
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.3.0
  • 1.2.0
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.0
  • 0.5.1
  • 0.5.0
  • 0.4.8
  • 0.4.4
released Jun 5th 2023
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 8.0.0
  • , , , , , , , , , , Archlinux, ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppet-archive', '7.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppet-archive
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppet-archive --version 7.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppet/archive — version 7.0.0 Jun 5th 2023

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.

v7.0.0 (2023-06-04)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Use require_relative to load libraries #494 (ekohl)

Merged pull requests:

v6.1.2 (2023-04-13)

Full Changelog

Fixed bugs:

Closed issues:

  • Missing gem with ruby 3.1 #488
  • Cannot clean up unless 'creates' is specified. #328

Merged pull requests:

v6.1.1 (2023-01-16)

Full Changelog

Fixed bugs:

  • curl provider: array of multiple headers does not work #481
  • Bug fix when passing multiple headers #482 (sprankle)

v6.1.0 (2022-11-29)

Full Changelog

Implemented enhancements:

  • feature: Artifactory authentication support #265
  • add array of headers as optional parameter #475 (prolixalias)
  • Mark CentOS 9 and RHEL 9 as supported operating systems #473 (kajinamit)
  • Update CA certificate bundle to 2021-10-26 #468 (l-avila)
  • modulesync 5.3 & update EoL URI syntax + a lot of rubocop rework #463 (bastelfreak)

Merged pull requests:

v6.0.2 (2021-11-23)

Full Changelog

Merged pull requests:

v6.0.1 (2021-08-26)

Full Changelog

Fixed bugs:

  • Fix archive::download::digest_type data type (reverts 6.0.0 breaking change) #460 (alexjfisher)

v6.0.0 (2021-08-25)

Full Changelog

Breaking changes:

Implemented enhancements:

Fixed bugs:

  • Fix Could not set 'present' on ensure: wrong number of arguments (given 1, expected 0) #443 (jeffmccune)
  • Write downloaded files as binary #442 (benohara)

Merged pull requests:

v5.0.0 (2021-04-16)

Full Changelog

Breaking changes:

  • metadata.json: drop Puppet 5, add Puppet 7 support #436 (kenyon)
  • Drop support for CentOS/RHEL 6 and variants #431 (alexjfisher)

Implemented enhancements:

  • Enable Debian 9/10 support #439 (bastelfreak)
  • Support stdlib 7.x #437 (treydock)
  • Add archives parameter to make use with an ENC or hiera easier #423 (jcpunk)
  • Add initial support for gsutil and pulling from Google Storage buckets #421 (j0sh3rs)

Fixed bugs:

Merged pull requests:

  • Produce a better error for the puppet downloader when file not found #434 (hajee)
  • Pass over credentials in archive::artifactory #433 (jramosf)
  • Clean up temporary files when checksums don't match #412 (benridley)

v4.6.0 (2020-08-21)

Full Changelog

Implemented enhancements:

Closed issues:

  • Feature request: make password sensitive and hide on fail #397

Merged pull requests:

v4.5.0 (2020-04-02)

Full Changelog

Implemented enhancements:

Closed issues:

  • Could not autoload puppet/parser/functions/artifactory_sha1: no such file to load -- puppet_x/bodeco/util #320

Merged pull requests:

v4.4.0 (2019-11-04)

Full Changelog

Implemented enhancements:

  • Extract .zip using PowerShell (native) as alternative to 7-zip #380
  • Add support for .tar.Z files and uncompress #385 (hajee)

Merged pull requests:

  • Put the cookie option at the end when using curl #349 (kapouik)

v4.3.0 (2019-10-16)

Full Changelog

Implemented enhancements:

v4.2.0 (2019-08-14)

Full Changelog

Implemented enhancements:

v4.1.0 (2019-07-04)

Full Changelog

Closed issues:

  • 4 Certificates expired, 3 expiring soon in cacert.pem #372

Merged pull requests:

v4.0.0 (2019-05-29)

Full Changelog

Breaking changes:

Implemented enhancements:

Merged pull requests:

  • explain how to download as simple as possible #366 (Dan33l)

v3.2.1 (2018-10-19)

Full Changelog

Merged pull requests:

v3.2.0 (2018-08-26)

Full Changelog

Implemented enhancements:

v3.1.1 (2018-08-02)

Full Changelog

Fixed bugs:

  • do not escape path on windows for unzip command #344 (qs5779)

Closed issues:

  • need a good example for extracting a tgz #335

Merged pull requests:

v3.1.0 (2018-06-14)

Full Changelog

Closed issues:

  • HTTPS download broken again on windows #289

Merged pull requests:

v3.0.0 (2018-03-31)

Full Changelog

Breaking changes:

Implemented enhancements:

Merged pull requests:

v2.3.0 (2018-02-21)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Fix typo in digest_type: sh256 -> sha256 #315 (mark0n)

Merged pull requests:

v2.2.0 (2017-11-21)

Full Changelog

Closed issues:

  • Setting an invalid proxy_server parameter should return a more helpful error message. #220

Merged pull requests:

v2.1.0 (2017-10-10)

Full Changelog

Closed issues:

  • unzip not installed and results in errors #291
  • Support puppet:/// urls or edit readme? #283
  • Using proxy_server and/or proxy_port has no effect on Windows #277
  • puppet source #151

Merged pull requests:

v2.0.0 (2017-08-25)

Full Changelog

Breaking changes:

  • BREAKING: Drop puppet 3 support. Replace validate_* functions with Puppet 4 data type validations #264 (jkroepke)

Implemented enhancements:

Fixed bugs:

  • wget proxy implementation incorrect #256

Closed issues:

  • allow_insecure is not working #294
  • Can't download latest SNAPSHOT artifactory artifacts #282
  • Need option to set curl SSL protocol #273
  • Add guide for migrating from puppet-staging #266
  • Rubocop: fix RSpec/MessageSpies #260
  • -z for curl option #241
  • RSpec/MessageExpectation violations #208

Merged pull requests:

v1.3.0 (2017-02-10)

Full Changelog

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 Fix allow_insecure for ruby provider
  • GH-205 Raise exception on bad source parameters
  • GH-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, 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