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

RSS

web (6) Versions 0.0.6

Light weight resource to deliver archived application to your host

Berkshelf/Librarian
Policyfile
Knife
cookbook 'web', '= 0.0.6'
cookbook 'web', '= 0.0.6', :supermarket
knife cookbook site install web
knife cookbook site download web
README
Dependencies
Quality

Description

light weight resource to deliver web application from tarball to your host

Requirements

  • tar

Attributes

Usage

web_application 'my-application' do
    url   'http://some.ftp.host/my-app.tar.gz'
    user  'alex'
    group 'users'
    action :deliver
end

web_application 'my-application' do
    pattern   'my-app*/'
    user  'alex'
    group 'users'
    action :clean
end

web_application 'my-application' do
    user  'alex'
    group 'users'
    action :delete
end

Resource's parameters

  • name - name of symlink
  • url - http url to application tarball
  • user - owner of application files
  • group - group of applications files
  • base - directory where application tarball will be unpacked, default value is user's home directory, so the application will be unpacked in base/apps/ directory and get symlinked as base/apps/name

Actions

  • fetch - just fetch application tarball and store it
  • unpack - unpack application tarball
  • symlink - make symlink in base/apps/ to unpacked application
  • deliver - fetch, unpack, symlink actions in sum
  • delete - remove application directory ( resolved by name symlink )
  • clean - clean up old unpacked distributives (effectively delete ALL directories in base/apps directory except currently symlinked as base/apps/name )

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found