cookbook 'remote_apt', '~> 1.0.1'
remote_apt (2) Versions 1.0.1 Follow0
Installs remotely hosted apt packages
cookbook 'remote_apt', '~> 1.0.1', :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.1 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.1 passed this metric
Foodcritic Metric
1.0.1 passed this metric
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.1 passed this metric
Version Tag Metric
1.0.1 passed this metric
1.0.1 failed this metric
1.0.1 passed this metric
Foodcritic Metric
1.0.1 passed this metric
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.1 passed this metric
Version Tag Metric
1.0.1 passed this metric
1.0.1 passed this metric
1.0.1 passed this metric
Testing File Metric
1.0.1 passed this metric
Version Tag Metric
1.0.1 passed this metric
1.0.1 passed this metric
1.0.1 passed this metric