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

http_deploy (2) Versions 0.0.2

Downloads and deploys a binary package using HTTP

Berkshelf/Librarian
Policyfile
Knife
cookbook 'http_deploy', '~> 0.0.2'
cookbook 'http_deploy', '~> 0.0.2', :supermarket
knife cookbook site install http_deploy
knife cookbook site download http_deploy
README
Dependencies
Quality 33%

http_deploy Cookbook

This cookbook downloads and deploys a binary package using HTTP.

Resource/Provider

http_deploy

Actions

  • :deploy: Download and deploy a binary package using HTTP

Attribute Parameters

  • :url: URL of the file to be deployed
  • :path: The directory to deploy the file into
  • :builds: The directory to store the download in (defaults to Chef::Client[:file_cache_path] if it's defined otherwise it falls back to the OS tmpdir)

Examples

Deploy a WAR file into a tomcat instance

http_deploy 'app.war' do
  url 'http://some-bucket.s3.amazonaws.com/builds/app_production.war'
  path node[:tomcat][:webapp_dir]
end

Usage

<cookbook>/metadata.rb:

depends 'http_deploy'

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License & Authors

Copyright 2014, Granicus Inc.

This file is part of http_deploy.

http_deploy is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

http_deploy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with http_deploy.  If not, see <http://www.gnu.org/licenses/>.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.2 failed this metric

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

Contributing File Metric
            

0.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
            

0.0.2 failed this metric

FC064: Ensure issues_url is set in metadata: http_deploy/metadata.rb:1
FC065: Ensure source_url is set in metadata: http_deploy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: http_deploy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: http_deploy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: http_deploy/metadata.rb:1
FC104: Use the :run action in ruby_block instead of :create: http_deploy/providers/default.rb:82
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.0.2 failed this metric

http_deploy does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.0.2 passed this metric

Publish Metric
            

0.0.2 passed this metric

Supported Platforms Metric
            

0.0.2 failed this metric

http_deploy should declare what platform(s) it supports.

Testing File Metric
            

0.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
            

0.0.2 passed this metric