GithubHelp home page GithubHelp logo

seven_zip-1's Introduction

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

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

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.

seven_zip-1's People

Contributors

annih avatar heathsnow avatar hisao07 avatar nathenharvey avatar schisamo avatar sethvargo avatar sneal avatar tas50 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.