cookbook 'libarchive', '= 0.7.0'
The libarchive cookbook has been deprecated
Author provided reason for deprecation:
The libarchive cookbook has been deprecated and is no longer being maintained by its authors. Use of the libarchive cookbook is no longer recommended.
libarchive
(17) Versions
0.7.0
-
Follow8
A library cookbook for extracting archive files
cookbook 'libarchive', '= 0.7.0', :supermarket
knife supermarket install libarchive
knife supermarket download libarchive
libarchive-cookbook
A library cookbook that provides LWRPs for extracting archive files
Requirements
- Chef ~> 12.1
Supported Platforms
- Ubuntu
- CentOS (RHEL)
- Arch Linux
Usage
include_recipe "libarchive::default" libarchive_file "my_archive.tar.gz" do path "/path/to/artifact/my_archive.tar.gz" extract_to "/path/to/extraction" owner "reset" group "reset" action :extract end
Recipes
libarchive::default
Include this recipe before leveraging any of the LWRPs provided by this cookbook. It will install the necessary libarchive packages on your node and the necessary libarchive rubygem as a chef_gem.
libarchive_file Resource/Provider
Actions
- extract - extracts the contents of the archive to the destination on disk. (default)
Paramter Attributes
- path - filepath to the archive to extract (name attribute)
- owner - set the owner of the extracted files
- group - set the group of the extracted files
- mode - set the mode of the extracted files
- extract_to - filepath to extract the contents of the archive to
- extract_options - an array of symbols representing extraction flags. See extract options below.
Extract Options
-
:no_overwrite
- don't overwrite files if they already exist
License and Authors
Author:: Jamie Winsor (jamie@vialstudios.com)
Author:: John Bellone (jbellone@bloomberg.net)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
libarchive Cookbook CHANGELOG
This file is used to list changes made in each version of the libarchive cookbook.
0.7.0 (2017-03-15)
- Remove broken support for CentOS 5 and the yum-epel cookbook dependency
- Remove the inclusion of apt::default in the default recipe. Apt updating is up to the user in a base role or cookbook
- Resolve cookstyle warnings
Collaborator Number Metric
0.7.0 passed this metric
Foodcritic Metric
0.7.0 failed this metric
FC059: LWRP provider does not declare use_inline_resources: libarchive/providers/file.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.7.0 passed this metric
No Binaries Metric
0.7.0 passed this metric
0.7.0 passed this metric
0.7.0 failed this metric
FC059: LWRP provider does not declare use_inline_resources: libarchive/providers/file.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.7.0 passed this metric
No Binaries Metric
0.7.0 passed this metric
0.7.0 passed this metric
0.7.0 passed this metric