cookbook 'remote_apt', '~> 1.0.1', :supermarket
remote_apt (2) Versions 1.0.1 Follow0
Installs remotely hosted apt packages
cookbook 'remote_apt', '~> 1.0.1'
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.