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

RSS

seven_zip (23) Versions 2.0.2

Installs/Configures 7-Zip

Policyfile
Berkshelf
Knife
cookbook 'seven_zip', '= 2.0.2', :supermarket
cookbook 'seven_zip', '= 2.0.2'
knife supermarket install seven_zip
knife supermarket download seven_zip
README
Dependencies
Changelog
Quality 71%

Cookbook Version
Build status

seven_zip Cookbook

7-Zip is a file archiver with a high compression ratio. This cookbook installs the full 7-zip suite of tools (GUI and CLI). This cookbook replaces the older 7-zip cookbook.

Requirements

Platforms

  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8, 8.1
  • Windows 10
  • Windows Server 2003 R2
  • Windows Server 2008 (R1, R2)
  • Windows Server 2012 (R1, R2)

Chef

  • Chef >= 11.6

Cookbooks

  • windows

Attributes

Optional

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><code>['seven_zip']['home']</code></td>
<td>String</td>
<td>7-Zip installation directory.</td>
<td></td>
</tr>
<tr>
<td><code>['seven_zip']['syspath']</code></td>
<td>Boolean</td>
<td>If true, adds 7-zip directory to system PATH environment variable.</td>
<td></td>
</tr>
<tr>
<td><code>['seven_zip']['default_extract_timeout']</code></td>
<td>Integer</td>
<td>The default timeout for an extract operation in seconds. This can be overridden by a resource attribute.</td>
<td>600</td>
</tr>
</table>

Usage

default

Add seven_zip::default to your run_list which will download and install 7-zip for the current Windows platform.

Resource/Provider

seven_zip_archive

Extracts a 7-zip compatible archive (iso, zip, 7z etc) to the specified destination directory.

Actions

  • :extract - Extract a 7-zip compatible archive

Attribute Parameters

  • path - Name attribute. The destination to extract to.
  • source - The file path to the archive to extract.
  • overwrite - Defaults to false. If true, the destination files will be overwritten.
  • checksum - The archive file checksum.
  • timeout - The extract action timeout in seconds, defaults to node['seven_zip']['default_extract_timeout'].

Examples

Extract 7-zip source files to C:\seven_zip_source.

seven_zip_archive 'seven_zip_source' do
  path      'C:\seven_zip_source'
  source    'http://www.7-zip.org/a/7z1514-src.7z'
  overwrite true
  checksum  '3713aed72728eae8f6649e4803eba0b3676785200c76df6269034c520df4bbd5'
  timeout   30
end

Recipes

default

Installs 7-zip and adds it to your system PATH.

License & Authors

Copyright:: 2011-2016, Chef Software, Inc.

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

windows >= 1.2.2

Contingent cookbooks

ark Applicable Versions
b1 Applicable Versions
b1h Applicable Versions
bacula-client Applicable Versions
bo-bip Applicable Versions
build-essential Applicable Versions
libsodium Applicable Versions
mingw Applicable Versions
msoffice Applicable Versions
omnibus Applicable Versions
openbazaar Applicable Versions
opsworks_ruby Applicable Versions
php-omnibus Applicable Versions
sensu-go Applicable Versions
snu-sumologic Applicable Versions
visualstudio Applicable Versions
vsts_agent Applicable Versions

seven_zip Cookbook CHANGELOG

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

v2.0.2

  • Add timeout to extract action on seven_zip resource and configurable default_extract_timeout attribute.

v2.0.1

v2.0.0

v1.0.2

1.0.0

  • initial release

Collaborator Number Metric
            

2.0.2 passed this metric

Contributing File Metric
            

2.0.2 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

Foodcritic Metric
            

2.0.2 passed this metric

License Metric
            

2.0.2 passed this metric

No Binaries Metric
            

2.0.2 passed this metric

Testing File Metric
            

2.0.2 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.0.2 passed this metric