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
Very basic cookbook to install remote apt packages supplied by vendors - i.e they are not part of the distribution's repositories.
May work with or without modification on other Debian derivatives.
- Chef 12.5+
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.
:install: download the apt file, validate SHA256, install package
:remove: remove the cached file, uninstall package
- url: name attribute. The URL to the remote apt file
- sha256: the SHA256 of the remote apt package (required for install action)
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
Add as dependency in the metadata of the cookbook which uses remote apt packages.
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.