cookbook 'http_deploy', '~> 0.0.2'
http_deploy (2) Versions 0.0.2 Follow1
Downloads and deploys a binary package using HTTP
cookbook 'http_deploy', '~> 0.0.2', :supermarket
knife supermarket install http_deploy
knife supermarket download http_deploy
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
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License & Authors
- Author:: Matt Kasa (mattk@granicus.com)
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
FC085: Resource using new_resource.updated_by_last_action to converge resource: http_deploy/providers/default.rb:103
FC104: Use the :run action in ruby_block instead of :create: http_deploy/providers/default.rb:82
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.2 passed this metric
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 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
0.0.2 failed this 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
FC085: Resource using new_resource.updated_by_last_action to converge resource: http_deploy/providers/default.rb:103
FC104: Use the :run action in ruby_block instead of :create: http_deploy/providers/default.rb:82
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.2 passed this metric
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 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
0.0.2 failed this metric
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
FC085: Resource using new_resource.updated_by_last_action to converge resource: http_deploy/providers/default.rb:103
FC104: Use the :run action in ruby_block instead of :create: http_deploy/providers/default.rb:82
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.2 passed this metric
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 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
0.0.2 failed this 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 include a tag that matches this cookbook version number