Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

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.

RSS

libarchive (17) Versions 2.1.0

A library cookbook for extracting archive files

Policyfile
Berkshelf
Knife
cookbook 'libarchive', '~> 2.1.0', :supermarket
cookbook 'libarchive', '~> 2.1.0'
knife supermarket install libarchive
knife supermarket download libarchive
README
Dependencies
Changelog
Quality 17%

libarchive-cookbook

Build Status Cookbook Version

Resources for extracting archives of all types with Chef

Requirements

  • Chef >= 14.0

Supported Platforms

  • Ubuntu / Debian
  • RHEL / Amazon / Fedora
  • SLES / openSUSE

Usage

archive_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

archive_file Resource

Actions

  • extract - extracts the contents of the archive to the destination on disk. (default)

Properties

  • 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

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

berkshelf-api-server Applicable Versions
consul Applicable Versions
consul-template Applicable Versions
database_restore Applicable Versions
ecto Applicable Versions
elixir Applicable Versions
etcd-v2 Applicable Versions
github Applicable Versions
guardian Applicable Versions
hashicorp-vault Applicable Versions
java-service Applicable Versions
kibana5-gm Applicable Versions
kibana_lwrp Applicable Versions
libartifact Applicable Versions
lockrun Applicable Versions
wombat-oam Applicable Versions
yajsw Applicable Versions

libarchive Cookbook CHANGELOG

This file is used to list changes made in each version of the libarchive cookbook.

2.1.0 (2018-09-14)

  • Add Windows support
  • Add support for NO_OVERWRITE_NEWER

2.0.0 (2018-04-07)

This cookbook now utilizes the libarchive built into Chef 14 to extract archives. There is no longer a need to install libarchive packages onto the host and because of this the cookbook now works on any platform supported by Chef. The libarchive_file resource has been renamed archive_file and the default recipe no longer performs any installation actions.

1.0.0 (2017-04-03)

  • Convert file LWRP to custom resource

0.7.1 (2017-03-30)

  • Update license string to standard Apache-2.0
  • Update maintainer information
  • Add source_url and issue_url
  • Add apt-update for debian platforms in test cookbook
  • Remove EOL platforms from .kitchen.yml
  • Add ubuntu-16.04, update latest centos 6, 7 platforms in .kitchen.yml
  • Modify test suite to use test 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
            

2.1.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

2.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

2.1.0 failed this metric

Chef/Deprecations/ResourceUsesOnlyResourceName: Starting with Chef Infra Client 16, using `resource_name` without also using `provides` will result in resource failures. Make sure to use both `resource_name` and `provides` to change the name of the resource. You can also omit `resource_name` entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourceusesonlyresourcename): libarchive/resources/file.rb: 8
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): libarchive/resources/file.rb: 1

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

2.1.0 passed this metric

Testing File Metric
            

2.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

2.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number