cookbook 'remote_apt', '= 1.0.0'
remote_apt (2) Versions 1.0.0 Follow0
Installs remotely hosted apt packages
cookbook 'remote_apt', '= 1.0.0', :supermarket
knife supermarket install remote_apt
knife supermarket download remote_apt
remote_apt Cookbook
Very basic cookbook to install remote apt packages supplied by vendors - i.e they are not part of the distribution's repositories.
Requirements
Platforms
- Debian
- Ubuntu
May work with or without modification on other Debian derivatives.
Chef
- Chef 12.5+
Cookbooks
- None
Recipes
- Nome
Attributes
- None
Libraries
- None
Resources/Providers
remote_apt
This resource wraps all the necessary steps required to install a remote apt package. It also validates the download by checking the SHA256 of the file.
Actions
-
:install
: download the apt file, validate SHA256, install package -
:remove
: remove the cached file, uninstall package
Attribute Parameters
- url: name attribute. The URL to the remote apt file
- sha256: the SHA256 of the remote apt package (required for install action)
Examples
remote_apt 'https://releases.hashicorp.com/vagrant/1.9.7/vagrant_1.9.7_x86_64.deb' do sha256 'd5579836c24d95c990aaa0fcd5c700b6a3cfac28d69229867e7cd614b7aecbdd' end remote_apt 'https://releases.hashicorp.com/vagrant/1.9.7/vagrant_1.9.7_x86_64.deb' do action :remove end
Usage
Add as dependency in the metadata of the cookbook which uses remote apt packages.
Maintainer
License
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 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
1.0.0 failed this metric
FC115: Custom resource contains a name_property that is required: remote_apt/resources/remote_apt.rb:5
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 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
1.0.0 failed this metric
FC115: Custom resource contains a name_property that is required: remote_apt/resources/remote_apt.rb:5
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 passed this metric
1.0.0 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 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
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric